MCPcopy Create free account

hub / github.com/authlib/authlib / functions

Functions2,764 in github.com/authlib/authlib

↓ 3 callersMethod_generate_ephemeral_key
(self, key)
authlib/jose/drafts/_jwe_algorithms.py:116
↓ 3 callersMethod_prepare_headers
(self, epk)
authlib/jose/drafts/_jwe_algorithms.py:119
↓ 3 callersFunction_raw_jwt
(rsa_private, header_extra=None, **claim_overrides)
tests/core/test_oauth2/test_id_jag.py:227
↓ 3 callersFunction_sign
(key, client_id, token_endpoint, alg, claims=None, **kwargs)
authlib/oauth2/rfc7523/assertion.py:68
↓ 3 callersFunction_validate_alg_values
(data, key, auth_methods_supported)
authlib/oauth2/rfc8414/models.py:391
↓ 3 callersFunction_validate_client
(query_client, client_id, status_code=400)
authlib/oauth2/rfc6749/authenticate_client.py:105
↓ 3 callersFunction_validate_numeric_time
(s)
authlib/jose/rfc7519/claims.py:226
↓ 3 callersMethod_validate_uri
(self, key, uri=None)
authlib/oauth2/rfc7591/claims.py:221
↓ 3 callersMethod_validate_uri
(self, key)
authlib/oidc/registration/claims.py:50
↓ 3 callersMethodacquire_token
A method to acquire current valid token with the given scope. :param scopes: a list of scope values :return: token object
authlib/integrations/flask_oauth2/resource_protector.py:61
↓ 3 callersMethodas_pem
(self, is_private=False, password=None)
authlib/jose/rfc7517/asymmetric_key.py:148
↓ 3 callersMethodauthenticate_endpoint_client
Authenticate client for endpoint with ``CLIENT_AUTH_METHODS``.
authlib/oauth2/rfc6749/token_endpoint.py:16
↓ 3 callersFunctionbuild_request
Make sure that all the data from initial request is passed to the updated object.
authlib/integrations/httpx_client/utils.py:34
↓ 3 callersMethodcheck_client_secret
Check client_secret matching with the client. For instance, in the client table, the column is called ``client_secret``:: import
authlib/oauth2/rfc6749/models.py:68
↓ 3 callersMethodcheck_params
(self, request, client)
authlib/oauth2/rfc7009/revocation.py:37
↓ 3 callersMethodcheck_required_fields
(cls, data)
authlib/jose/rfc7517/base_key.py:113
↓ 3 callersFunctioncreate_access_token_claims
(client, user)
tests/flask/test_oauth2/rfc9068/test_resource_server.py:123
↓ 3 callersMethodcreate_oauth1_request
(self, request)
authlib/oauth1/rfc5849/authorization_server.py:28
↓ 3 callersFunctioncreate_s256_code_challenge
Create S256 code_challenge with the given code_verifier.
authlib/oauth2/rfc7636/challenge.py:16
↓ 3 callersMethoddeliver
(self, key, pubkey, headers, bit_size)
authlib/jose/rfc7518/jwe_algs.py:250
↓ 3 callersMethoddeliver_at_recipient
( self, recipient_key, sender_static_pubkey, sender_ephemeral_pubkey,
authlib/jose/drafts/_jwe_algorithms.py:99
↓ 3 callersMethoddeliver_at_sender
( self, sender_static_key, sender_ephemeral_key, recipient_pubkey, hea
authlib/jose/drafts/_jwe_algorithms.py:82
↓ 3 callersFunctionensure_dict
(s, structure_name)
authlib/jose/util.py:36
↓ 3 callersMethodfetch_jwk_set
(self, force=False)
authlib/integrations/base_client/sync_openid.py:14
↓ 3 callersMethodget_client_algorithm
Return the algorithm for encoding ``id_token``. Per `OpenID Connect Registration 1.0 Section 2 <https://openid.net/specs/openid-conne
authlib/oidc/core/grants/_legacy.py:26
↓ 3 callersMethodget_client_require_signed_request_object
Return the 'require_signed_request_object' client metadata. When :data:`True`, the client requires that authorization requests use re
authlib/oauth2/rfc9101/authorization_server.py:324
↓ 3 callersMethodget_compatible_claims
(self, request: OAuth2Request)
authlib/oidc/core/grants/_legacy.py:72
↓ 3 callersMethodget_oauth_token_secret
(self)
authlib/oauth1/rfc5849/models.py:111
↓ 3 callersMethodget_server_metadata
Return server metadata which includes supported grant types, response types and etc. When the ``require_signed_request_object`` claim
authlib/oauth2/rfc9101/authorization_server.py:303
↓ 3 callersFunctionget_user_profile
(request)
tests/django/test_oauth2/test_resource_protector.py:31
↓ 3 callersFunctionget_well_known_url
Get well-known URI with issuer via Section 4.1. :param issuer: URL of the issuer :param external: return full external url or not :return
authlib/oidc/discovery/well_known.py:4
↓ 3 callersMethodhandle_error
(error_type, error_description)
authlib/oauth1/client.py:179
↓ 3 callersMethodheaders
Alias of ``header`` for JSON typed JWS.
authlib/jose/rfc7515/models.py:82
↓ 3 callersMethodinit_app
(self, app, query_client=None, token_generator=None)
authlib/integrations/flask_oauth1/authorization_server.py:47
↓ 3 callersMethodis_expired
(self)
tests/django/test_oauth2/models.py:93
↓ 3 callersMethodload_server_metadata
(self)
authlib/integrations/base_client/async_app.py:76
↓ 3 callersMethodparse_json
Parse JWE JSON Serialization. :param obj: JWE JSON Serialization as str or dict :return: Parsed JWE JSON Serialization as dict if `ob
authlib/jose/rfc7516/jwe.py:694
↓ 3 callersFunctionprepare_key
(alg, header, key)
authlib/jose/rfc7516/jwe.py:770
↓ 3 callersFunctionprepare_temporary_credential
(server)
tests/django/test_oauth1/test_token_credentials.py:11
↓ 3 callersFunctionprepare_temporary_credential
(server)
tests/flask/test_oauth1/test_token_credentials.py:37
↓ 3 callersMethodprocess_implicit_token
(self, token, code=None)
authlib/oidc/core/grants/implicit.py:135
↓ 3 callersMethodregister_extension
(self, extension)
authlib/oauth2/rfc6749/authorization_server.py:156
↓ 3 callersMethodregister_hook
(self, name, func)
authlib/integrations/flask_oauth1/authorization_server.py:62
↓ 3 callersFunctionregister_jwe_draft
(cls)
authlib/jose/drafts/__init__.py:10
↓ 3 callersMethodrevoke_token
Revoke token method defined via :rfc:`7009`. :param url: Revoke Token endpoint, must be HTTPS. :param token: The token to be revoked.
authlib/oauth2/client.py:340
↓ 3 callersMethodscope_insufficient
(token_scopes, required_scopes)
authlib/oauth2/rfc6749/resource_protector.py:24
↓ 3 callersMethodserialize
Generate a JWE Serialization. It will automatically generate a compact or JSON serialization depending on `header` argument. If `head
authlib/jose/rfc7516/jwe.py:429
↓ 3 callersMethodthumbprint
Implementation of RFC7638 JSON Web Key (JWK) Thumbprint.
authlib/jose/rfc7517/base_key.py:98
↓ 3 callersFunctionupdate_session_configure
(session, kwargs)
authlib/integrations/requests_client/utils.py:12
↓ 3 callersMethodvalidate
(self, **kwargs)
authlib/oauth2/rfc9068/claims.py:31
↓ 3 callersMethodvalidate
Validate all server metadata values. :param metadata_classes: Optional list of metadata extension classes to validate. Example::
authlib/oauth2/rfc8414/models.py:359
↓ 3 callersFunctionvalidate_nonce
(request, exists_nonce, required=False)
authlib/oidc/core/grants/util.py:77
↓ 3 callersMethodvalidate_oauth_signature
Validate ``oauth_signature`` from HTTP request. :param request: OAuth1Request instance
authlib/oauth1/rfc5849/base_server.py:77
↓ 3 callersMethodvalidate_timestamp_and_nonce
Validate ``oauth_timestamp`` and ``oauth_nonce`` in HTTP request. :param request: OAuth1Request instance
authlib/oauth1/rfc5849/base_server.py:43
↓ 3 callersMethodverify
Verify the signature of text msg with a public/verify key. :param msg: message bytes to be signed :param sig: result signature to be
authlib/jose/rfc7515/models.py:25
↓ 3 callersFunctionverify_signature
(getter)
tests/clients/test_requests/test_oauth1_session.py:31
↓ 3 callersMethodwrap_cek
(self, cek, key)
authlib/jose/rfc7518/jwe_algs.py:103
↓ 2 callersMethod__init__
(self, auth_type=None, realm=None)
authlib/oauth2/rfc6749/errors.py:196
↓ 2 callersMethod__init__
(self, request: Request)
authlib/integrations/flask_oauth2/requests.py:46
↓ 2 callersMethod__init__
(self, request: HttpRequest)
authlib/integrations/django_oauth2/requests.py:54
↓ 2 callersMethod_agree_upon_key_at_sender
( self, enc_alg, headers, key, sender_key, epk, tag=None )
authlib/jose/drafts/_jwe_algorithms.py:143
↓ 2 callersFunction_append_params
Append OAuth params to an existing set of parameters. Both params and oauth_params is must be lists of 2-tuples. Per :rfc:`5849#section-3.5.
authlib/oauth1/rfc5849/parameters.py:57
↓ 2 callersMethod_check_key
(self, key)
authlib/jose/rfc7518/jwe_algs.py:99
↓ 2 callersMethod_check_key
(self, key)
authlib/jose/rfc7518/jwe_algs.py:140
↓ 2 callersMethod_check_key
(raw_key)
authlib/jose/rfc7518/oct_key.py:85
↓ 2 callersMethod_clear_session_state
(self, session)
authlib/integrations/base_client/framework_integration.py:21
↓ 2 callersFunction_create_grant
(grant_cls, extensions, request, server)
authlib/oauth2/rfc6749/authorization_server.py:414
↓ 2 callersMethod_create_oauth2_authorization_url
(client, authorization_endpoint, **kwargs)
authlib/integrations/base_client/sync_app.py:277
↓ 2 callersFunction_encode_token
(key, claims=None)
tests/core/test_oauth2/test_rfc9068_token_validator.py:30
↓ 2 callersFunction_extract_header
(header_segment)
authlib/jose/rfc7515/jws.py:353
↓ 2 callersFunction_extract_payload
(payload_segment)
authlib/jose/rfc7515/jws.py:361
↓ 2 callersFunction_extract_signature
(signature_segment)
authlib/jose/rfc7515/jws.py:357
↓ 2 callersMethod_fetch_token
(self, url, **kwargs)
authlib/oauth1/client.py:148
↓ 2 callersMethod_generate_ephemeral_key
(self, key)
authlib/jose/rfc7518/jwe_algs.py:255
↓ 2 callersMethod_get_client
(self, request)
authlib/oauth1/rfc5849/authorization_server.py:23
↓ 2 callersMethod_get_expires_in
(self, client, grant_type)
authlib/oauth2/rfc6750/token.py:43
↓ 2 callersMethod_handle_token_hint
( self, hook, url, token=None, token_type_hint=None, body=None
authlib/oauth2/client.py:479
↓ 2 callersMethod_hmac
(self, ciphertext, aad, iv, key)
authlib/jose/rfc7518/jwe_encs.py:41
↓ 2 callersMethod_http_post
(self, url, body=None, auth=None, headers=None, **kwargs)
authlib/oauth2/client.py:527
↓ 2 callersFunction_http_request
(ctx, session, method, url, token, kwargs)
authlib/integrations/base_client/async_app.py:137
↓ 2 callersFunction_load_token_response
Return the JSON object of a token endpoint response. Raise the HTTP error of the response when its body is not a JSON object, such as a rate-
authlib/oauth2/client.py:20
↓ 2 callersMethod_prepare_headers
(self, epk)
authlib/jose/rfc7518/jwe_algs.py:258
↓ 2 callersMethod_reject_unprotected_crit
Reject 'crit' when found in the unprotected header (RFC 7515 §4.1.11).
authlib/jose/rfc7515/jws.py:300
↓ 2 callersMethod_run_validate_hooks
(self)
authlib/oauth2/claims.py:46
↓ 2 callersMethod_send_token_request
(self, session, method, url, token, kwargs)
authlib/integrations/base_client/sync_app.py:73
↓ 2 callersFunction_test_fetch_access_token_raises_error
Assert that an error is being raised whenever there's no verifier passed in to the client.
tests/clients/test_requests/test_oauth1_session.py:237
↓ 2 callersFunction_validate
(metadata)
tests/core/test_oidc/test_discovery.py:153
↓ 2 callersMethod_validate_private_headers
(self, header)
authlib/jose/rfc7515/jws.py:289
↓ 2 callersFunction_verify_hash
(signature, s, alg)
authlib/oidc/core/claims.py:283
↓ 2 callersMethodagree_upon_key_and_wrap_cek
( self, enc_alg, headers, key, sender_key, epk, cek, tag )
authlib/jose/rfc7516/models.py:45
↓ 2 callersMethodas_bytes
Export key into PEM/DER format bytes. :param encoding: "PEM" or "DER" :param is_private: export private key or public key :pa
authlib/jose/rfc7517/asymmetric_key.py:115
↓ 2 callersMethodas_dict
Represent this key as a dict of the JSON Web Key Set.
authlib/jose/rfc7517/key_set.py:10
↓ 2 callersMethodauthenticate_client
Authenticate client via HTTP request information with the given methods, such as ``client_secret_basic``, ``client_secret_post``.
authlib/oauth2/rfc6749/authorization_server.py:119
↓ 2 callersMethodauthenticate_token
(self, token_string)
authlib/oauth2/rfc9068/token_validator.py:80
↓ 2 callersMethodcheck_authorization_request
(self, request)
authlib/integrations/django_oauth1/authorization_server.py:59
↓ 2 callersMethodcheck_client
(self, client)
authlib/oauth2/rfc7523/validator.py:16
↓ 2 callersMethodcheck_endpoint_auth_method
Check if client support the given method for the given endpoint. There is a ``token_endpoint_auth_method`` defined via :rfc:`7591`. De
authlib/oauth2/rfc6749/models.py:83
↓ 2 callersMethodcheck_key_op
Check if the given key_op is supported by this key. :param operation: key operation value, such as "sign", "encrypt". :raise: ValueEr
authlib/jose/rfc7517/base_key.py:68
↓ 2 callersMethodcheck_password
(self, password)
tests/flask/test_oauth2/models.py:18
↓ 2 callersMethodcheck_permission
Check if the request has permission to introspect the token. Developers MUST implement this method:: def check_permission(self, t
authlib/oauth2/rfc7662/introspection.py:81
← previousnext →201–300 of 2,764, ranked by callers