MCPcopy Create free account

hub / github.com/authlib/authlib / functions

Functions2,764 in github.com/authlib/authlib

↓ 1 callersFunction_filter_keys_by_params
(keys, **params)
authlib/jose/rfc7517/key_set.py:40
↓ 1 callersFunction_filter_oauth
(params)
authlib/oauth1/rfc5849/wrapper.py:84
↓ 1 callersMethod_get_cache_data
(self, key: Hashable)
authlib/integrations/starlette_client/integration.py:10
↓ 1 callersMethod_get_cache_data
(self, key)
authlib/integrations/base_client/framework_integration.py:12
↓ 1 callersMethod_get_raw_request_object
( self, request: OAuth2Request, client: ClientMixin )
authlib/oauth2/rfc9101/authorization_server.py:159
↓ 1 callersMethod_get_requested_token
(self, request)
authlib/integrations/base_client/sync_app.py:69
↓ 1 callersFunction_guess_grant_type
(kwargs)
authlib/oauth2/client.py:536
↓ 1 callersFunction_guess_prompt_value
(end_user, prompts, redirect_uri, redirect_fragment)
authlib/oidc/core/grants/util.py:173
↓ 1 callersFunction_is_ssh_public_key
Tell if the asymmetric key classes would load the bytes as an SSH key.
authlib/jose/rfc7518/oct_key.py:25
↓ 1 callersMethod_is_valid_post_logout_redirect_uri
Check if post_logout_redirect_uri is registered for the client.
authlib/oidc/rpinitiated/end_session.py:231
↓ 1 callersMethod_normalize_timeout
(self, timeout)
tests/flask/cache.py:28
↓ 1 callersFunction_parse_authorization_header
Parse an OAuth authorization header into a list of 2-tuples.
authlib/oauth1/rfc5849/wrapper.py:90
↓ 1 callersFunction_parse_oauth_params
(query_params, body_params, auth_params)
authlib/oauth1/rfc5849/wrapper.py:109
↓ 1 callersMethod_prepare_token_endpoint_body
(self, body, grant_type, **kwargs)
authlib/oauth2/client.py:509
↓ 1 callersMethod_process_assertion_claims
Extract, verify, and return JWT claims from ``assertion``.
authlib/oauth2/drafts/id_jag.py:221
↓ 1 callersMethod_prune
(self)
tests/flask/cache.py:18
↓ 1 callersFunction_query_access_token
(token_model, token)
authlib/integrations/django_oauth2/endpoints.py:45
↓ 1 callersFunction_query_refresh_token
(token_model, token)
authlib/integrations/django_oauth2/endpoints.py:52
↓ 1 callersMethod_refresh_token
( self, url, refresh_token=None, body="", headers=None, auth=None, **kwargs )
authlib/oauth2/client.py:462
↓ 1 callersMethod_refresh_token
(self, data)
authlib/oauth2/rfc7521/client.py:96
↓ 1 callersMethod_render
(self, uri, headers, body, oauth_params)
authlib/oauth1/rfc5849/client_auth.py:109
↓ 1 callersMethod_resolve_scope
Return the scope of the access token. The scope is bounded by the scope claim of the assertion, and defaults to it. Without that clai
authlib/oauth2/drafts/id_jag.py:247
↓ 1 callersMethod_shoud_proceed_with_request_object
( self, request: OAuth2Request, client: ClientMixin, )
authlib/oauth2/rfc9101/authorization_server.py:117
↓ 1 callersFunction_ssh_certificate
Return an OpenSSH certificate for the public key.
tests/jose/test_jwt.py:59
↓ 1 callersFunction_transform_raw_key
(raw)
authlib/jose/rfc7517/jwk.py:59
↓ 1 callersMethod_validate_essential_claims
(self)
authlib/jose/rfc7519/claims.py:54
↓ 1 callersMethod_validate_id_token_hint
Validate that the OP was the issuer of the ID Token.
authlib/oidc/rpinitiated/end_session.py:199
↓ 1 callersMethod_validate_json_jws
(self, payload_segment, payload, header_obj, key)
authlib/jose/rfc7515/jws.py:322
↓ 1 callersMethod_validate_post_logout_redirect_uris
(self)
authlib/oidc/rpinitiated/registration.py:37
↓ 1 callersMethod_validate_request_client
(self)
authlib/oauth2/rfc6749/grants/refresh_token.py:32
↓ 1 callersMethod_validate_request_token
(self, client)
authlib/oauth2/rfc6749/grants/refresh_token.py:46
↓ 1 callersMethod_validate_token_scope
(self, token)
authlib/oauth2/rfc6749/grants/refresh_token.py:56
↓ 1 callersMethod_validate_typ_header
(self, headers)
authlib/oauth2/drafts/id_jag.py:284
↓ 1 callersMethod_verify_claims
(self, claims: jwt.Claims)
authlib/oauth2/drafts/id_jag.py:293
↓ 1 callersMethod_wrap_cek
(self, cek, dk)
authlib/jose/drafts/_jwe_algorithms.py:157
↓ 1 callersMethodaccess_token_generator
(self, client, grant_type, user, scope)
authlib/oauth2/rfc9068/token.py:129
↓ 1 callersMethodacquire
The with statement of ``require_oauth``. Instead of using a decorator, you can use a with statement instead:: @app.route("/api/us
authlib/integrations/flask_oauth2/resource_protector.py:79
↓ 1 callersMethodacquire_credential
(self)
authlib/integrations/flask_oauth1/resource_protector.py:90
↓ 1 callersMethodacquire_credential
(self, request)
authlib/integrations/django_oauth1/resource_protector.py:41
↓ 1 callersMethodacquire_token
A method to acquire current valid token with the given scope. :param request: Django HTTP request instance :param scopes: a list of s
authlib/integrations/django_oauth2/resource_protector.py:15
↓ 1 callersFunctionadd_to_body
Add a Bearer Token to the request body. access_token=h480djs93hd8
authlib/oauth2/rfc6750/parameters.py:25
↓ 1 callersFunctionadd_to_headers
Add a Bearer Token to the request URI. Recommended method of passing bearer tokens. Authorization: Bearer h480djs93hd8
authlib/oauth2/rfc6750/parameters.py:14
↓ 1 callersFunctionadd_to_uri
Add a Bearer Token to the request URI. Not recommended, use only if client can't use authorization header or body. http://www.example.com/pat
authlib/oauth2/rfc6750/parameters.py:5
↓ 1 callersMethodas_json
Represent this key set as a JSON string.
authlib/jose/rfc7517/key_set.py:14
↓ 1 callersMethodas_json
Represent this key as a JSON string.
authlib/jose/rfc7517/base_key.py:93
↓ 1 callersMethodas_key
Represent this key as raw key.
authlib/jose/rfc7517/asymmetric_key.py:109
↓ 1 callersFunctionassert_valid_signature
(request, client_secret="secret", token_secret=None)
tests/clients/test_httpx/test_async_oauth1_client.py:19
↓ 1 callersFunctionassert_valid_signature
(request, client_secret="secret", token_secret=None)
tests/clients/test_httpx/test_oauth1_client.py:18
↓ 1 callersMethodauthenticate
(self, request, methods, endpoint)
authlib/oauth2/rfc6749/authenticate_client.py:36
↓ 1 callersMethodauthenticate_client
Read the client from the client configuration endpoint URL. Developers MUST implement this method in subclass:: from urllib.parse
authlib/oauth2/rfc7592/endpoint.py:168
↓ 1 callersMethodauthenticate_client
(self, client)
authlib/oauth2/rfc7523/client.py:138
↓ 1 callersMethodauthenticate_client
client_id is REQUIRED **if the client is not** authenticating with the authorization server as described in Section 3.2.1. of [RFC6749].
authlib/oauth2/rfc8628/endpoint.py:71
↓ 1 callersMethodauthenticate_refresh_token
Get token information with refresh_token string. Developers MUST implement this method in subclass:: def authenticate_refresh_tok
authlib/oauth2/rfc6749/grants/refresh_token.py:142
↓ 1 callersMethodauthenticate_token
A method to query token from database with the given token string. Developers MUST re-implement this method. For instance:: def a
authlib/oauth2/rfc6749/resource_protector.py:40
↓ 1 callersMethodauthenticate_token
(self, request, client)
authlib/oauth2/rfc9068/introspection.py:63
↓ 1 callersMethodauthenticate_token
Authenticate the registration access token of the request. Developers MUST implement this method in subclass:: def authenticate_t
authlib/oauth2/rfc7592/endpoint.py:152
↓ 1 callersMethodauthenticate_token
The client constructs the request by including the following parameters using the "application/x-www-form-urlencoded" format in the HT
authlib/oauth2/rfc7009/revocation.py:17
↓ 1 callersMethodauthenticate_token
The protected resource calls the introspection endpoint using an HTTP ``POST`` request with parameters sent as "application/x-www-form
authlib/oauth2/rfc7662/introspection.py:16
↓ 1 callersMethodauthenticate_token
Authenticate current credential who is requesting to register a client. Developers MUST implement this method in subclass:: def a
authlib/oauth2/rfc7591/endpoint.py:157
↓ 1 callersMethodauthenticate_user
Validate the resource owner password credentials using its existing password validation algorithm:: def authenticate_user(self, u
authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.py:146
↓ 1 callersMethodauthenticate_user
Authenticate the user related to this credential. Developers MUST implement this method in subclass:: def authenticate_user(self,
authlib/oauth2/rfc6749/grants/refresh_token.py:156
↓ 1 callersMethodauthenticate_user
Authenticate the user related to this authorization_code. Developers MUST implement this method in subclass, e.g.:: def authentic
authlib/oauth2/rfc6749/grants/authorization_code.py:340
↓ 1 callersMethodauthenticate_user
Authenticate user with the given assertion claims. Developers MUST implement it in subclass, e.g.:: def authenticate_user(self, s
authlib/oauth2/rfc7523/jwt_bearer.py:233
↓ 1 callersMethodauthenticate_user
Return the user identified by the ``sub`` claim, or *None*. Per the ID-JAG draft -06 §3.1, ``sub`` is only unique within its issuer,
authlib/oauth2/drafts/id_jag.py:339
↓ 1 callersMethodcheck
Check and raise InsecureTransportError with the given URI.
authlib/oauth2/rfc6749/errors.py:62
↓ 1 callersMethodcheck
(cls, uri)
authlib/oauth1/rfc5849/errors.py:32
↓ 1 callersMethodcheck_authorization_endpoint
(cls, request: OAuth2Request)
authlib/oauth2/rfc6749/grants/base.py:114
↓ 1 callersMethodcheck_client
A method to check if this token is issued to the given client. For instance, ``client_id`` is saved on token table:: def check_cl
authlib/oauth2/rfc6749/models.py:166
↓ 1 callersMethodcheck_id_jag_permission
Application policy: return *True* if *client* may act on behalf of *user* for *scopes*. The verified claims of the ID-JAG are in
authlib/oauth2/drafts/id_jag.py:360
↓ 1 callersMethodcheck_jti
Return *True* if ``jti`` has not been seen before (replay protection), *False* otherwise.
authlib/oauth2/drafts/id_jag.py:355
↓ 1 callersMethodcheck_params
(self, request, client)
authlib/oauth2/rfc7662/introspection.py:42
↓ 1 callersMethodcheck_permission
Checks whether the current client is allowed to be accessed, edited or deleted. Developers MUST implement it in subclass, e.g.::
authlib/oauth2/rfc7592/endpoint.py:197
↓ 1 callersMethodcheck_sensitive_data
Check if payload contains sensitive information.
authlib/jose/rfc7519/jwt.py:41
↓ 1 callersMethodcheck_token_endpoint
(cls, request: OAuth2Request)
authlib/oauth2/rfc6749/grants/base.py:96
↓ 1 callersMethodcheck_verifier
(self, verifier)
authlib/oauth1/rfc5849/models.py:105
↓ 1 callersFunctionconstruct_base_string
Generate signature base string from request, per :rfc:`5849#section-3.4.1`. For example, the HTTP request:: POST /request?b5=%3D%253D&a3
authlib/oauth1/rfc5849/signature.py:27
↓ 1 callersFunctioncreate_access_token_claims
(client, user)
tests/flask/test_oauth2/rfc9068/test_token_revocation.py:86
↓ 1 callersFunctioncreate_access_token_claims
(client, user)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:90
↓ 1 callersFunctioncreate_authorization_server
(app, lazy=False)
tests/flask/test_oauth2/oauth2_server.py:27
↓ 1 callersMethodcreate_authorization_verifier
Create and bind ``oauth_verifier`` to temporary credential. It could be re-implemented in this way:: def create_authorization_ver
authlib/oauth1/rfc5849/authorization_server.py:305
↓ 1 callersMethodcreate_bearer_token_generator
Create a generator function for generating ``token`` value. This method will create a Bearer Token generator with :class:`authlib.oaut
authlib/integrations/flask_oauth2/authorization_server.py:93
↓ 1 callersMethodcreate_bearer_token_generator
Default method to create BearerToken generator.
authlib/integrations/django_oauth2/authorization_server.py:81
↓ 1 callersMethodcreate_configuration_response
(self, request)
authlib/oauth2/rfc7592/endpoint.py:23
↓ 1 callersMethodcreate_delete_client_response
(self, client, request)
authlib/oauth2/rfc7592/endpoint.py:72
↓ 1 callersFunctioncreate_digital_user_code
()
authlib/oauth2/rfc8628/endpoint.py:164
↓ 1 callersMethodcreate_endpoint_response
(self, request)
authlib/oauth2/rfc8628/endpoint.py:95
↓ 1 callersFunctioncreate_exists_nonce_func
Create an ``exists_nonce`` function that can be used in hooks and resource protector. :param cache: Cache instance :param key_prefix: key
authlib/integrations/flask_oauth1/cache.py:57
↓ 1 callersMethodcreate_granted_params
(self, grant_user)
authlib/oidc/core/grants/implicit.py:114
↓ 1 callersMethodcreate_introspection_payload
(self, token: JWTAccessTokenClaims)
authlib/oauth2/rfc9068/introspection.py:83
↓ 1 callersMethodcreate_introspection_payload
(self, token)
authlib/oauth2/rfc7662/introspection.py:67
↓ 1 callersFunctioncreate_load_key
(key)
authlib/jose/rfc7519/jwt.py:170
↓ 1 callersMethodcreate_oauth1_request
(self, request)
authlib/integrations/flask_oauth1/authorization_server.py:158
↓ 1 callersMethodcreate_oauth1_request
(self, request)
authlib/integrations/django_oauth1/authorization_server.py:64
↓ 1 callersFunctioncreate_query_client_func
Create an ``query_client`` function that can be used in authorization server. :param session: SQLAlchemy session :param client_model: Cli
authlib/integrations/sqla_oauth2/functions.py:4
↓ 1 callersMethodcreate_registration_response
(self, request)
authlib/oauth2/rfc7591/endpoint.py:39
↓ 1 callersFunctioncreate_response_mode_response
(redirect_uri, params, response_mode)
authlib/oidc/core/grants/util.py:147
↓ 1 callersFunctioncreate_revocation_endpoint
Create a revocation endpoint class with SQLAlchemy session and token model. :param session: SQLAlchemy session :param token_model: Token
authlib/integrations/sqla_oauth2/functions.py:63
↓ 1 callersFunctioncreate_save_token_func
Create an ``save_token`` function that can be used in authorization server. :param session: SQLAlchemy session :param token_model: Token
authlib/integrations/sqla_oauth2/functions.py:19
↓ 1 callersFunctioncreate_string_user_code
()
authlib/oauth2/rfc8628/endpoint.py:159
↓ 1 callersMethodcreate_temporary_credential
Generate and save a temporary credential into database or cache. A temporary credential is used for exchanging token credential. This
authlib/oauth1/rfc5849/authorization_server.py:254
← previousnext →401–500 of 2,764, ranked by callers