Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/authlib/authlib
/ functions
Functions
2,764 in github.com/authlib/authlib
⨍
Functions
2,764
◇
Types & classes
369
↳
Endpoints
41
↓ 1 callers
Function
rsa_sha1_signature
Generate signature via RSA-SHA1 method, per :rfc:`5849#section-3.4.3`. The "RSA-SHA1" signature method uses the RSASSA-PKCS1-v1_5 signature a
authlib/oauth1/rfc5849/signature.py:288
↓ 1 callers
Function
run_fetch_userinfo
(payload)
tests/clients/test_starlette/test_user_mixin.py:22
↓ 1 callers
Method
save_authorization_code
Save authorization_code for later use. Developers MUST implement it in subclass. Here is an example:: def save_authorization_code
authlib/oauth2/rfc6749/grants/authorization_code.py:294
↓ 1 callers
Method
save_authorization_code
Save authorization_code for later use. Developers MUST implement it in subclass. Here is an example:: def save_authorization_code
authlib/oidc/core/grants/hybrid.py:34
↓ 1 callers
Method
save_authorize_data
(self, request, **kwargs)
authlib/integrations/django_client/apps.py:13
↓ 1 callers
Method
save_authorize_data
(self, request, **kwargs)
authlib/integrations/starlette_client/apps.py:14
↓ 1 callers
Method
save_authorize_data
(self, **kwargs)
authlib/integrations/flask_client/apps.py:35
↓ 1 callers
Method
save_client
Save client into database. Developers MUST implement this method in subclass:: def save_client(self, client_info, client_metadata
authlib/oauth2/rfc7591/endpoint.py:181
↓ 1 callers
Method
save_device_credential
Save device token into database for later use. Developers MUST implement this method in subclass:: def save_device_credential(sel
authlib/oauth2/rfc8628/endpoint.py:148
↓ 1 callers
Method
should_slow_down
The authorization request is still pending and polling should continue, but the interval MUST be increased by 5 seconds for this and a
authlib/oauth2/rfc8628/device_code.py:180
↓ 1 callers
Method
sign
(self, auth, token_endpoint)
authlib/oauth2/rfc7523/auth.py:47
↓ 1 callers
Function
sign_sha1
(msg, rsa_private_key)
authlib/oauth1/rfc5849/rsa.py:11
↓ 1 callers
Method
timestamp
(self)
authlib/oauth1/rfc5849/wrapper.py:59
↓ 1 callers
Function
token_generator
(*args, **kwargs)
authlib/integrations/flask_oauth2/authorization_server.py:162
↓ 1 callers
Method
unwrap
(self, enc_alg, ek, headers, key)
authlib/jose/rfc7518/jwe_algs.py:78
↓ 1 callers
Method
update_client
Update the client in the database. Developers MUST implement this method in subclass:: def update_client(self, client, client_met
authlib/oauth2/rfc7592/endpoint.py:220
↓ 1 callers
Method
update_protected
(self, addition)
authlib/jose/rfc7516/models.py:129
↓ 1 callers
Method
update_token
(self, token, refresh_token=None, access_token=None)
authlib/integrations/base_client/framework_integration.py:60
↓ 1 callers
Method
validate
(self, now=None, leeway=0)
authlib/oauth2/rfc9101/registration.py:35
↓ 1 callers
Method
validate
(self, now=None, leeway=0)
authlib/oidc/core/claims.py:43
↓ 1 callers
Method
validate
(self, now=None, leeway=0)
authlib/oidc/core/claims.py:170
↓ 1 callers
Method
validate
(self, now=None, leeway=0)
authlib/oidc/rpinitiated/registration.py:33
↓ 1 callers
Method
validate_amr
OPTIONAL. Authentication Methods References. JSON array of strings that are identifiers for authentication methods used in the authent
authlib/oidc/core/claims.py:88
↓ 1 callers
Method
validate_application_type
Kind of the application. The default, if omitted, is web. The defined values are native or web. Web Clients using the OAuth Implicit
authlib/oidc/registration/claims.py:110
↓ 1 callers
Method
validate_aud
The "aud" (audience) claim identifies the recipients that the JWT is intended for. Each principal intended to process the JWT MUST id
authlib/jose/rfc7519/claims.py:130
↓ 1 callers
Method
validate_auth_time
Time when the End-User authentication occurred. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as
authlib/oidc/core/claims.py:55
↓ 1 callers
Method
validate_authorization_endpoint
URL of the authorization server's authorization endpoint [RFC6749]. This is REQUIRED unless no grant types are supported that use the
authlib/oauth2/rfc8414/models.py:65
↓ 1 callers
Method
validate_authorization_request
The client constructs the request URI by adding the following parameters to the query component of the authorization endpoint URI usin
authlib/oauth2/rfc6749/grants/implicit.py:83
↓ 1 callers
Method
validate_authorization_request
(self)
authlib/oauth2/rfc6749/grants/base.py:152
↓ 1 callers
Method
validate_authorization_request
(self)
authlib/oidc/core/grants/implicit.py:71
↓ 1 callers
Method
validate_authorization_request
(self)
authlib/oidc/core/grants/hybrid.py:52
↓ 1 callers
Function
validate_authorization_request_payload
(grant, redirect_uri)
authlib/oauth2/rfc6749/grants/authorization_code.py:380
↓ 1 callers
Method
validate_authorization_response_iss_parameter_supported
Boolean parameter indicating whether the authorization server provides the iss parameter in the authorization response. If omitted, t
authlib/oauth2/rfc9207/discovery.py:19
↓ 1 callers
Method
validate_azp
OPTIONAL. Authorized party - the party to which the ID Token was issued. If present, it MUST contain the OAuth 2.0 Client ID of this p
authlib/oidc/core/claims.py:102
↓ 1 callers
Method
validate_c_hash
Code hash value. Its value is the base64url encoding of the left-most half of the hash of the octets of the ASCII representation of th
authlib/oidc/core/claims.py:174
↓ 1 callers
Method
validate_claims_locales_supported
OPTIONAL. Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language
authlib/oidc/discovery/models.py:234
↓ 1 callers
Method
validate_client_name
Human-readable string name of the client to be presented to the end-user during authorization. If omitted, the authorization server M
authlib/oauth2/rfc7591/claims.py:82
↓ 1 callers
Method
validate_client_uri
URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a c
authlib/oauth2/rfc7591/claims.py:91
↓ 1 callers
Method
validate_code_challenge_methods_supported
OPTIONAL. JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this autho
authlib/oauth2/rfc8414/models.py:314
↓ 1 callers
Method
validate_consent_request
(self)
authlib/oauth2/rfc6749/grants/base.py:147
↓ 1 callers
Method
validate_contacts
Array of strings representing ways to contact people responsible for this client, typically email addresses. The authorization server
authlib/oauth2/rfc7591/claims.py:118
↓ 1 callers
Method
validate_default_acr_values
Default requested Authentication Context Class Reference values. Array of strings that specifies the default acr values that the OP is being
authlib/oidc/registration/claims.py:252
↓ 1 callers
Method
validate_default_max_age
Default Maximum Authentication Age. Specifies that the End-User MUST be actively authenticated if the End-User was authenticated long
authlib/oidc/registration/claims.py:224
↓ 1 callers
Method
validate_device_credential
(self, credential)
authlib/oauth2/rfc8628/device_code.py:132
↓ 1 callers
Method
validate_exp
The "exp" (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. The p
authlib/jose/rfc7519/claims.py:165
↓ 1 callers
Method
validate_grant_types
Array of OAuth 2.0 grant type strings that the client can use at the token endpoint.
authlib/oauth2/rfc7591/claims.py:72
↓ 1 callers
Method
validate_grant_types_supported
OPTIONAL. JSON array containing a list of the OAuth 2.0 grant type values that this authorization server supports. The array values u
authlib/oauth2/rfc8414/models.py:154
↓ 1 callers
Method
validate_iat
The "iat" (issued at) claim identifies the time at which the JWT was issued. This claim can be used to determine the age of the JWT.
authlib/jose/rfc7519/claims.py:197
↓ 1 callers
Method
validate_id_token_encrypted_response_alg
JWE alg algorithm [JWA] REQUIRED for encrypting the ID Token issued to this Client. If this is requested, the response will be signed
authlib/oidc/registration/claims.py:165
↓ 1 callers
Method
validate_id_token_encrypted_response_enc
JWE enc algorithm [JWA] REQUIRED for encrypting the ID Token issued to this Client. If id_token_encrypted_response_alg is specified,
authlib/oidc/registration/claims.py:174
↓ 1 callers
Method
validate_id_token_signed_response_alg
JWS alg algorithm [JWA] REQUIRED for signing the ID Token issued to this Client. The value none MUST NOT be used as the ID Token alg
authlib/oidc/registration/claims.py:147
↓ 1 callers
Method
validate_id_token_signing_alg_values_supported
REQUIRED. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the C
authlib/oidc/discovery/models.py:97
↓ 1 callers
Method
validate_initiate_login_uri
RI using the https scheme that a third party can use to initiate a login by the RP, as specified in Section 4 of OpenID Connect Core 1.0 [Open
authlib/oidc/registration/claims.py:265
↓ 1 callers
Method
validate_introspection_endpoint
OPTIONAL. URL of the authorization server's OAuth 2.0 introspection endpoint [RFC7662].
authlib/oauth2/rfc8414/models.py:276
↓ 1 callers
Method
validate_introspection_endpoint_auth_methods_supported
OPTIONAL. JSON array containing a list of client authentication methods supported by this introspection endpoint. The valid client a
authlib/oauth2/rfc8414/models.py:284
↓ 1 callers
Method
validate_introspection_endpoint_auth_signing_alg_values_supported
OPTIONAL. JSON array containing a list of the JWS signing algorithms ("alg" values) supported by the introspection endpoint for the s
authlib/oauth2/rfc8414/models.py:297
↓ 1 callers
Method
validate_iss
The "iss" (issuer) claim identifies the principal that issued the JWT. The processing of this claim is generally application specific.
authlib/jose/rfc7519/claims.py:111
↓ 1 callers
Method
validate_issuer
REQUIRED. The authorization server's issuer identifier, which is a URL that uses the "https" scheme and has no query or fragment compo
authlib/oauth2/rfc8414/models.py:44
↓ 1 callers
Method
validate_jti
Validate if the given ``jti`` value is used before. Developers MUST implement this method:: def validate_jti(self, claims, jti):
authlib/oauth2/rfc7523/client.py:162
↓ 1 callers
Method
validate_jti
The "jti" (JWT ID) claim provides a unique identifier for the JWT. The identifier value MUST be assigned in a manner that ensures that
authlib/jose/rfc7519/claims.py:213
↓ 1 callers
Method
validate_jwks
Client's JSON Web Key Set [RFC7517] document value, which contains the client's public keys. The value of this field MUST be a JSON o
authlib/oauth2/rfc7591/claims.py:165
↓ 1 callers
Method
validate_jwks_uri
URL string referencing the client's JSON Web Key (JWK) Set [RFC7517] document, which contains the client's public keys. The value of
authlib/oauth2/rfc7591/claims.py:149
↓ 1 callers
Method
validate_jwks_uri
OPTIONAL. URL of the authorization server's JWK Set [JWK] document. The referenced document contains the signing key(s) the client u
authlib/oauth2/rfc8414/models.py:100
↓ 1 callers
Method
validate_jwks_uri
(self)
authlib/oidc/discovery/models.py:66
↓ 1 callers
Method
validate_locale
Validate the locale claim is a BCP 47 language tag.
authlib/oidc/core/claims.py:248
↓ 1 callers
Method
validate_logo_uri
URL string that references a logo for the client. If present, the server SHOULD display this image to the end-user during approval. T
authlib/oauth2/rfc7591/claims.py:101
↓ 1 callers
Method
validate_nbf
The "nbf" (not before) claim identifies the time before which the JWT MUST NOT be accepted for processing. The processing of the "nbf"
authlib/jose/rfc7519/claims.py:181
↓ 1 callers
Method
validate_no_multiple_request_parameter
For the Authorization Endpoint, request and response parameters MUST NOT be included more than once. Per :rfc:`6749#section-3.1`.
authlib/oauth2/rfc6749/grants/base.py:134
↓ 1 callers
Method
validate_nonce
String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified
authlib/oidc/core/claims.py:69
↓ 1 callers
Method
validate_op_policy_uri
OPTIONAL. URL that the authorization server provides to the person registering the client to read about the authorization server's re
authlib/oauth2/rfc8414/models.py:211
↓ 1 callers
Method
validate_op_tos_uri
OPTIONAL. URL that the authorization server provides to the person registering the client to read about the authorization server's te
authlib/oauth2/rfc8414/models.py:226
↓ 1 callers
Method
validate_policy_uri
URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, reta
authlib/oauth2/rfc7591/claims.py:139
↓ 1 callers
Method
validate_raw_key
(cls, key)
authlib/jose/rfc7517/base_key.py:119
↓ 1 callers
Method
validate_redirect_uris
Array of redirection URI strings for use in redirect-based flows such as the authorization code and implicit flows. As required by Se
authlib/oauth2/rfc7591/claims.py:50
↓ 1 callers
Method
validate_registration_endpoint
OPTIONAL. URL of the authorization server's OAuth 2.0 Dynamic Client Registration endpoint [RFC7591].
authlib/oauth2/rfc8414/models.py:115
↓ 1 callers
Method
validate_request
A method to validate if the HTTP request is valid or not. Developers MUST re-implement this method. For instance, your server requires a
authlib/oauth2/rfc6749/resource_protector.py:52
↓ 1 callers
Method
validate_request_object_encryption_alg
JWE [JWE] alg algorithm [JWA] the RP is declaring that it may use for encrypting Request Objects sent to the OP. This parameter SHOUL
authlib/oidc/registration/claims.py:288
↓ 1 callers
Method
validate_request_object_encryption_enc
JWE enc algorithm [JWA] the RP is declaring that it may use for encrypting Request Objects sent to the OP. If request_object_encrypti
authlib/oidc/registration/claims.py:302
↓ 1 callers
Method
validate_request_object_signing_alg
JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST
authlib/oidc/registration/claims.py:275
↓ 1 callers
Function
validate_request_prompt
(grant, redirect_uri, redirect_fragment=False)
authlib/oidc/core/grants/util.py:24
↓ 1 callers
Method
validate_request_uri
Return whether ``request_uri`` may be retrieved for this client. Called before :meth:`get_request_object`. The default rejects every URI;
authlib/oauth2/rfc9101/authorization_server.py:226
↓ 1 callers
Method
validate_request_uris
Array of request_uri values that are pre-registered by the RP for use at the OP. These URLs MUST use the https scheme unless the targ
authlib/oidc/registration/claims.py:319
↓ 1 callers
Method
validate_require_auth_time
Boolean value specifying whether the auth_time Claim in the ID Token is REQUIRED. It is REQUIRED when the value is true. (If this is
authlib/oidc/registration/claims.py:237
↓ 1 callers
Method
validate_require_signed_request_object
(self)
authlib/oauth2/rfc9101/registration.py:39
↓ 1 callers
Method
validate_response_modes_supported
OPTIONAL. JSON array containing a list of the OAuth 2.0 "response_mode" values that this authorization server supports, as specified
authlib/oauth2/rfc8414/models.py:144
↓ 1 callers
Method
validate_response_types
Array of the OAuth 2.0 response type strings that the client can use at the authorization endpoint.
authlib/oauth2/rfc7591/claims.py:77
↓ 1 callers
Method
validate_response_types_supported
REQUIRED. JSON array containing a list of the OAuth 2.0 "response_type" values that this authorization server supports. The array val
authlib/oauth2/rfc8414/models.py:131
↓ 1 callers
Method
validate_revocation_endpoint
OPTIONAL. URL of the authorization server's OAuth 2.0 revocation endpoint [RFC7009].
authlib/oauth2/rfc8414/models.py:240
↓ 1 callers
Method
validate_revocation_endpoint_auth_methods_supported
OPTIONAL. JSON array containing a list of client authentication methods supported by this revocation endpoint. The valid client auth
authlib/oauth2/rfc8414/models.py:248
↓ 1 callers
Method
validate_revocation_endpoint_auth_signing_alg_values_supported
OPTIONAL. JSON array containing a list of the JWS signing algorithms ("alg" values) supported by the revocation endpoint for the sign
authlib/oauth2/rfc8414/models.py:259
↓ 1 callers
Method
validate_scope
String containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use
authlib/oauth2/rfc7591/claims.py:110
↓ 1 callers
Method
validate_scopes_supported
RECOMMENDED. JSON array containing a list of the OAuth 2.0 [RFC6749] "scope" values that this authorization server supports. Servers M
authlib/oauth2/rfc8414/models.py:123
↓ 1 callers
Method
validate_sector_identifier_uri
URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON
authlib/oidc/registration/claims.py:129
↓ 1 callers
Method
validate_service_documentation
OPTIONAL. URL of a page containing human-readable information that developers might want or need to know when using the authorization
authlib/oauth2/rfc8414/models.py:191
↓ 1 callers
Method
validate_software_id
A unique identifier string (e.g., a Universally Unique Identifier (UUID)) assigned by the client developer or software publisher used
authlib/oauth2/rfc7591/claims.py:193
↓ 1 callers
Method
validate_software_version
A version identifier string for the client software identified by "software_id". The value of the "software_version" SHOULD change on
authlib/oauth2/rfc7591/claims.py:206
↓ 1 callers
Method
validate_sub
The "sub" (subject) claim identifies the principal that is the subject of the JWT. The claims in a JWT are normally statements about
authlib/jose/rfc7519/claims.py:119
↓ 1 callers
Method
validate_subject_type
subject_type requested for responses to this Client. The subject_types_supported discovery parameter contains a list of the supported
authlib/oidc/registration/claims.py:140
↓ 1 callers
Method
validate_temporary_credentials_request
Validate HTTP request for temporary credentials.
authlib/oauth1/rfc5849/authorization_server.py:39
↓ 1 callers
Method
validate_token
A method to validate if the authorized token is valid, if it has the permission on the given scopes. Developers MUST re-implement this method.
authlib/oauth2/rfc6749/resource_protector.py:68
← previous
next →
701–800 of 2,764, ranked by callers