def revoke_token(token, token_type, client_id=CLIENT_ID, secret_key=SECRET_KEY): authenticator = ESIAuthenticator() return authenticator.revoke_token(token, token_type=token_type, client_id=client_id, secret=secret_key)
def verify_access_token(access_token): authenticator = ESIAuthenticator() return authenticator.verify_access_token(access_token)
def get_access_token(refresh_token, client_id=CLIENT_ID, secret_key=SECRET_KEY): authenticator = ESIAuthenticator() return authenticator.get_access_token(refresh_token, client_id, secret_key)
def verify_authorization_code(authorization_code, client_id=CLIENT_ID, secret_key=SECRET_KEY): authenticator = ESIAuthenticator() return authenticator.verify_authorization_code(authorization_code, client_id, secret_key)