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
Function
test_encode_datetime
()
tests/jose/test_jwt.py:203
Function
test_encode_sensitive_data
()
tests/jose/test_jwt.py:186
Function
test_endpoint_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:25
Function
test_endpoint_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:19
Function
test_entitlements_restriction
Many authorization servers embed authorization attributes that go beyond the delegated scenarios described by [RFC7519] in the access tokens they
tests/flask/test_oauth2/rfc9068/test_resource_server.py:309
Function
test_essential_claims
()
tests/core/test_oidc/test_core.py:15
Function
test_expired_assertion
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:385
Function
test_expired_assertion
(test_client)
tests/flask/test_oauth2/test_id_jag_grant.py:267
Function
test_expired_id_token_accepted
Expired ID tokens are accepted per the specification.
tests/flask/test_oauth2/test_end_session.py:324
Function
test_expired_token
(factory, token)
tests/django/test_oauth2/test_resource_protector.py:54
Function
test_expired_token
(oct_key)
tests/core/test_oauth2/test_rfc7523_validator.py:48
Function
test_expired_token
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:187
Function
test_expired_token
(test_client, db, token)
tests/flask/test_oauth2/test_oauth2_server.py:112
Function
test_expires_at
()
tests/core/test_oauth2/test_rfc7662.py:31
Function
test_expires_in
()
tests/core/test_oauth2/test_rfc7662.py:26
Function
test_expires_in_used_when_expires_at_unparseable
Test that expires_in is used as fallback when expires_at is unparsable.
tests/clients/test_requests/test_oauth2_session.py:371
Function
test_extra_attributes
Authorization servers MAY return arbitrary attributes not defined in any existing specification, as long as the corresponding claim names are coll
tests/flask/test_oauth2/rfc9068/test_resource_server.py:335
Function
test_extract_assertion_rejects_malformed_compact
A syntactically malformed compact JWT must surface as ``InvalidGrantError`` (not a joserfc ``DecodeError`` propagating to a 500).
tests/core/test_oauth2/test_id_jag.py:529
Function
test_extract_assertion_rejects_non_json_payload
A JWS whose payload is valid base64url but not valid JSON must raise ``InvalidGrantError`` via the ValueError branch in ``_extract_assertion``
tests/core/test_oauth2/test_id_jag.py:506
Function
test_extract_basic_authorization
()
tests/core/test_oauth2/test_rfc6749_misc.py:73
Function
test_fail_deserialize_json
()
tests/jose/test_jws.py:180
Function
test_falls_back_to_httpx_with_deprecation_warning
(monkeypatch)
tests/clients/test_httpx/test_compat.py:11
Function
test_fetch_access_token
()
tests/clients/test_requests/test_oauth1_session.py:205
Function
test_fetch_access_token
()
tests/clients/test_httpx/test_async_oauth1_client.py:116
Function
test_fetch_access_token
()
tests/clients/test_httpx/test_oauth1_client.py:111
Function
test_fetch_access_token_has_verifier_is_none
()
tests/clients/test_requests/test_oauth1_session.py:262
Function
test_fetch_access_token_missing_verifier
()
tests/clients/test_requests/test_oauth1_session.py:258
Function
test_fetch_access_token_with_optional_arguments
()
tests/clients/test_requests/test_oauth1_session.py:225
Function
test_fetch_request_token
()
tests/clients/test_requests/test_oauth1_session.py:180
Function
test_fetch_request_token_via_body
()
tests/clients/test_httpx/test_async_oauth1_client.py:54
Function
test_fetch_request_token_via_body
()
tests/clients/test_httpx/test_oauth1_client.py:50
Function
test_fetch_request_token_via_header
()
tests/clients/test_httpx/test_async_oauth1_client.py:33
Function
test_fetch_request_token_via_header
()
tests/clients/test_httpx/test_oauth1_client.py:30
Function
test_fetch_request_token_via_query
()
tests/clients/test_httpx/test_async_oauth1_client.py:84
Function
test_fetch_request_token_via_query
()
tests/clients/test_httpx/test_oauth1_client.py:81
Function
test_fetch_request_token_with_optional_arguments
()
tests/clients/test_requests/test_oauth1_session.py:193
Function
test_fetch_token_authorization_response_without_code
A callback without code never falls back to another grant.
tests/clients/test_requests/test_oauth2_session.py:676
Function
test_fetch_token_authorization_response_without_code
A callback without code never falls back to another grant.
tests/clients/test_httpx/test_oauth2_client.py:420
Function
test_fetch_token_authorization_response_without_code
A callback without code never falls back to another grant.
tests/clients/test_httpx/test_async_oauth2_client.py:460
Function
test_fetch_token_get
(token)
tests/clients/test_requests/test_oauth2_session.py:216
Function
test_fetch_token_get
()
tests/clients/test_httpx/test_oauth2_client.py:180
Function
test_fetch_token_get
()
tests/clients/test_httpx/test_async_oauth2_client.py:173
Function
test_fetch_token_invalid_response
()
tests/clients/test_requests/test_oauth1_session.py:246
Function
test_fetch_token_json_error_response
()
tests/clients/test_requests/test_oauth2_session.py:202
Function
test_fetch_token_json_error_response
()
tests/clients/test_httpx/test_oauth2_client.py:162
Function
test_fetch_token_non_json_object_error_response
(body)
tests/clients/test_requests/test_oauth2_session.py:187
Function
test_fetch_token_non_json_object_error_response
(body)
tests/clients/test_httpx/test_oauth2_client.py:145
Function
test_fetch_token_non_json_object_success_response
(status_code)
tests/clients/test_requests/test_oauth2_session.py:195
Function
test_fetch_token_non_json_object_success_response
(body)
tests/clients/test_httpx/test_oauth2_client.py:154
Function
test_fetch_token_post
(token)
tests/clients/test_requests/test_oauth2_session.py:152
Function
test_fetch_token_post
()
tests/clients/test_httpx/test_oauth2_client.py:116
Function
test_fetch_token_post
()
tests/clients/test_httpx/test_async_oauth2_client.py:143
Function
test_fetch_token_server_error_json_response
()
tests/clients/test_requests/test_oauth2_session.py:209
Function
test_fetch_token_server_error_json_response
()
tests/clients/test_httpx/test_oauth2_client.py:170
Function
test_fetch_userinfo
()
tests/clients/test_starlette/test_user_mixin.py:48
Function
test_fetch_userinfo
()
tests/clients/test_flask/test_user_mixin.py:21
Function
test_flattened_json_jws
()
tests/jose/test_jws.py:112
Function
test_force_fetch_jwks_uri
()
tests/clients/test_starlette/test_user_mixin.py:164
Function
test_force_fetch_jwks_uri
()
tests/clients/test_flask/test_user_mixin.py:167
Function
test_fragments_not_allowed
()
tests/core/test_common_urls.py:61
Function
test_function_key
()
tests/jose/test_jws.py:145
Function
test_garbage_token_raises_invalid_token_error
()
tests/core/test_oauth2/test_rfc9068_token_validator.py:93
Function
test_generate_id_token
(alg, key)
tests/core/test_oidc/test_utils.py:35
Function
test_generate_jwt_access_token
(test_client, client, user, jwks)
tests/flask/test_oauth2/rfc9068/test_token_generation.py:73
Function
test_generate_jwt_access_token_extra_claims
Authorization servers MAY return arbitrary attributes not defined in any existing specification, as long as the corresponding claim names are coll
tests/flask/test_oauth2/rfc9068/test_token_generation.py:118
Function
test_generate_jwt_access_token_no_user
(test_client, client, user, jwks)
tests/flask/test_oauth2/rfc9068/test_token_generation.py:163
Function
test_generic_deserialize_for_json_serialization_string
()
tests/jose/test_jwe.py:1560
Function
test_generic_serialize_deserialize_for_compact_serialization
()
tests/jose/test_jwe.py:1529
Function
test_generic_serialize_deserialize_for_json_serialization
()
tests/jose/test_jwe.py:1544
Function
test_get
The UserInfo Endpoint MUST support the use of the HTTP GET and HTTP POST methods defined in RFC 7231 [RFC7231]. The UserInfo Endpoint MUST accept
tests/flask/test_oauth2/test_userinfo.py:68
Function
test_get_access_token
(test_client)
tests/flask/test_oauth2/test_device_code_grant.py:226
Function
test_get_authorize
(test_client)
tests/flask/test_oauth2/test_implicit_grant.py:30
Function
test_get_authorize
(test_client)
tests/flask/test_oauth2/test_authorization_code_grant.py:48
Function
test_get_claim_cls_by_response_type
()
tests/core/test_oidc/test_core.py:161
Function
test_get_consent_grant_client
(factory, server, client)
tests/django/test_oauth2/test_implicit_grant.py:33
Function
test_get_consent_grant_client
(factory, server, client)
tests/django/test_oauth2/test_authorization_code_grant.py:59
Function
test_get_consent_grant_redirect_uri
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:83
Function
test_get_consent_grant_scope
(factory, server)
tests/django/test_oauth2/test_implicit_grant.py:52
Function
test_get_consent_grant_scope
(factory, server)
tests/django/test_oauth2/test_authorization_code_grant.py:96
Function
test_get_via_body
()
tests/clients/test_httpx/test_async_oauth1_client.py:163
Function
test_get_via_body
()
tests/clients/test_httpx/test_oauth1_client.py:156
Function
test_get_via_header
()
tests/clients/test_httpx/test_async_oauth1_client.py:143
Function
test_get_via_header
()
tests/clients/test_httpx/test_oauth1_client.py:137
Function
test_get_via_query
()
tests/clients/test_httpx/test_async_oauth1_client.py:189
Function
test_get_via_query
()
tests/clients/test_httpx/test_oauth1_client.py:181
Function
test_grant_types_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:170
Function
test_has_code_challenge
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:56
Function
test_headers_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:54
Function
test_headers_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:48
Function
test_hmac_sha1_signature
(factory)
tests/django/test_oauth1/test_resource_protector.py:111
Function
test_hmac_sha1_signature
(factory, server)
tests/django/test_oauth1/test_token_credentials.py:106
Function
test_hmac_sha1_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_resource_protector.py:117
Function
test_hmac_sha1_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:230
Function
test_hmac_sha1_signature
(app, test_client)
tests/flask/test_oauth1/test_token_credentials.py:155
Function
test_httpx_client_stream_match
(client)
tests/clients/test_httpx/test_async_oauth2_client.py:100
Function
test_hybrid_id_token
()
tests/core/test_oidc/test_core.py:132
Function
test_id_jag_client_secret_post
(test_client, server, client, db, secret)
tests/flask/test_oauth2/test_id_jag_grant.py:410
Function
test_id_jag_requires_matching_client_authentication
( test_client, other_client, auth_case )
tests/flask/test_oauth2/test_id_jag_grant.py:348
Function
test_id_token_encryption_alg_values_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:226
Function
test_id_token_encryption_enc_values_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:269
← previous
next →
1,901–2,000 of 2,764, ranked by callers