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_needs_confirmation_with_id_token
needs_confirmation is False when id_token_claims is present.
tests/flask/test_oauth2/test_end_session.py:131
Function
test_needs_confirmation_without_id_token
needs_confirmation is True when id_token_claims is None.
tests/flask/test_oauth2/test_end_session.py:125
Function
test_neither_request_nor_request_uri_parameter
Passing parameters in the query string and not in a request object should still work.
tests/flask/test_oauth2/test_jwt_authorization_request.py:196
Function
test_nested_json_jws
()
tests/jose/test_jws.py:126
Function
test_no_client_id
()
tests/clients/test_requests/test_oauth1_session.py:25
Function
test_no_public_key
(test_client, server)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:93
Function
test_no_refresh_token_issued
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:215
Function
test_no_token
(test_client)
tests/flask/test_oauth2/test_userinfo.py:156
Function
test_non_access_token_skipped
(test_client, server, client)
tests/flask/test_oauth2/rfc9068/test_token_revocation.py:138
Function
test_non_access_token_skipped
(test_client, client, server)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:165
Function
test_non_object_payload_assertion
An assertion payload that is valid JSON but not a JSON object cannot hold claims.
tests/flask/test_oauth2/test_jwt_bearer_grant.py:293
Function
test_non_object_payload_assertion
An assertion payload that is valid JSON but not a JSON object cannot hold claims.
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:364
Function
test_non_string_iss_claim
A non-string 'iss' claim must not reach 'resolve_issuer_client'.
tests/flask/test_oauth2/test_jwt_bearer_grant.py:327
Function
test_non_string_sub_claim
A non-string 'sub' claim must not reach 'query_client'.
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:412
Function
test_nonascii
(generate_nonce, generate_timestamp)
tests/clients/test_requests/test_oauth1_session.py:117
Function
test_nonce_replay
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:181
Function
test_not_enough_segments
()
tests/jose/test_jwe.py:26
Function
test_not_found_client
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:93
Function
test_not_implemented_code_challenge_method
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:294
Function
test_not_supported_alg
()
tests/jose/test_jws.py:48
Function
test_not_supported_alg
()
tests/jose/test_jwe.py:64
Function
test_not_supported_auth_method
(test_client, server, client, db)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:112
Function
test_not_validate_jti
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:177
Function
test_nothing_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:16
Function
test_nothing_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:10
Function
test_oauth1_authorize
(factory)
tests/clients/test_django/test_oauth_client.py:64
Function
test_oauth1_authorize
()
tests/clients/test_starlette/test_oauth_client.py:65
Function
test_oauth1_authorize_cache
()
tests/clients/test_flask/test_oauth_client.py:132
Function
test_oauth1_authorize_session
()
tests/clients/test_flask/test_oauth_client.py:167
Function
test_oauth2_access_token_with_post
(factory)
tests/clients/test_django/test_oauth_client.py:260
Function
test_oauth2_access_token_with_post
()
tests/clients/test_flask/test_oauth_client.py:496
Function
test_oauth2_authorize
(factory)
tests/clients/test_django/test_oauth_client.py:95
Function
test_oauth2_authorize
()
tests/clients/test_starlette/test_oauth_client.py:101
Function
test_oauth2_authorize_access_denied
(factory)
tests/clients/test_django/test_oauth_client.py:123
Function
test_oauth2_authorize_access_denied
()
tests/clients/test_starlette/test_oauth_client.py:201
Function
test_oauth2_authorize_access_denied
()
tests/clients/test_flask/test_oauth_client.py:290
Function
test_oauth2_authorize_cache
()
tests/clients/test_flask/test_oauth_client.py:216
Function
test_oauth2_authorize_code_challenge
(factory)
tests/clients/test_django/test_oauth_client.py:141
Function
test_oauth2_authorize_code_challenge
()
tests/clients/test_starlette/test_oauth_client.py:231
Function
test_oauth2_authorize_code_challenge
()
tests/clients/test_flask/test_oauth_client.py:401
Function
test_oauth2_authorize_code_verifier
(factory)
tests/clients/test_django/test_oauth_client.py:175
Function
test_oauth2_authorize_csrf_with_cache
When a cache is configured, the state must still be bound to the session that initiated the flow. Otherwise an attacker can start an authoriza
tests/clients/test_starlette/test_oauth_client.py:157
Function
test_oauth2_authorize_form_post_callback
Test that POST callbacks (form_post response mode) work properly.
tests/clients/test_starlette/test_oauth_client.py:436
Function
test_oauth2_authorize_missing_code
()
tests/clients/test_flask/test_oauth_client.py:623
Function
test_oauth2_authorize_no_url
()
tests/clients/test_starlette/test_oauth_client.py:352
Function
test_oauth2_authorize_session
()
tests/clients/test_flask/test_oauth_client.py:253
Function
test_oauth2_authorize_via_custom_client
()
tests/clients/test_flask/test_oauth_client.py:312
Function
test_oauth2_authorize_with_metadata
()
tests/clients/test_starlette/test_oauth_client.py:405
Function
test_oauth2_authorize_with_metadata
()
tests/clients/test_flask/test_oauth_client.py:369
Function
test_oauth2_fetch_metadata
()
tests/clients/test_starlette/test_oauth_client.py:368
Function
test_oauth2_fetch_metadata
()
tests/clients/test_flask/test_oauth_client.py:334
Function
test_oauth2token_is_expired_with_expires_at_none
Token with no expires_at should return None for is_expired.
tests/core/test_oauth2/test_rfc6749_misc.py:97
Function
test_oauth2token_is_expired_with_expires_at_zero
Token with expires_at=0 (epoch) should be considered expired.
tests/core/test_oauth2/test_rfc6749_misc.py:90
Function
test_oauth2token_is_expired_with_valid_token
Token with future expires_at should not be expired.
tests/core/test_oauth2/test_rfc6749_misc.py:103
Function
test_oct_generate_oct_key
()
tests/jose/test_jwk.py:34
Function
test_oct_import_oct_key
()
tests/jose/test_jwk.py:14
Function
test_oct_invalid_oct_key
()
tests/jose/test_jwk.py:29
Function
test_oidc_request_uri_policy_rejects_registered_uri
( test_client, server, require_registration )
tests/flask/test_oauth2/test_jwt_authorization_request.py:698
Function
test_oidc_request_uri_validator_and_registration
( test_client, server, client, db, require_registration, registered, parameter )
tests/flask/test_oauth2/test_jwt_authorization_request.py:599
Function
test_oidc_request_uri_without_registration_hook
(test_client, server, monkeypatch)
tests/flask/test_oauth2/test_jwt_authorization_request.py:750
Function
test_okp_key_generate_pem
()
tests/jose/test_jwk.py:216
Function
test_openid_authorize
(factory)
tests/clients/test_django/test_oauth_client.py:211
Function
test_openid_authorize
()
tests/clients/test_flask/test_oauth_client.py:442
Function
test_optional_fields
(test_client, token_generator, user, client, jwks)
tests/flask/test_oauth2/rfc9068/test_token_generation.py:195
Function
test_optional_token
()
tests/flask/test_oauth2/test_oauth2_server.py:64
Function
test_override_default_request_timeout
(token)
tests/clients/test_requests/test_oauth2_session.py:646
Function
test_parse_authorization_code_response
()
tests/core/test_oauth2/test_rfc6749_misc.py:12
Function
test_parse_id_token
()
tests/clients/test_starlette/test_user_mixin.py:53
Function
test_parse_id_token
()
tests/clients/test_flask/test_user_mixin.py:45
Function
test_parse_id_token_nonce_supported
(token_nonce)
tests/clients/test_starlette/test_user_mixin.py:95
Function
test_parse_id_token_nonce_supported
(token_nonce)
tests/clients/test_flask/test_user_mixin.py:89
Function
test_parse_implicit_response
()
tests/core/test_oauth2/test_rfc6749_misc.py:29
Function
test_parse_json
()
tests/jose/test_jwe.py:1410
Function
test_parse_json_fails_if_json_msg_is_invalid
()
tests/jose/test_jwe.py:1457
Function
test_parse_response_url
()
tests/clients/test_requests/test_oauth1_session.py:169
Function
test_password_grant_type
(token)
tests/clients/test_requests/test_oauth2_session.py:282
Function
test_password_grant_type
()
tests/clients/test_httpx/test_oauth2_client.py:246
Function
test_password_grant_type
()
tests/clients/test_httpx/test_async_oauth2_client.py:245
Function
test_permission_denied
(test_client, introspection_endpoint, access_token, client)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:204
Function
test_plain_code_challenge_failed
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:229
Function
test_plain_code_challenge_invalid
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:209
Function
test_plain_code_challenge_success
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:249
Function
test_plaintext_signature
(factory)
tests/django/test_oauth1/test_resource_protector.py:87
Function
test_plaintext_signature
(factory, server)
tests/django/test_oauth1/test_token_credentials.py:72
Function
test_plaintext_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_resource_protector.py:92
Function
test_plaintext_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:186
Function
test_plaintext_signature
(app, test_client)
tests/flask/test_oauth1/test_token_credentials.py:121
Function
test_policy_denial
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:440
Function
test_policy_denial
(test_client, server)
tests/flask/test_oauth2/test_id_jag_grant.py:303
Function
test_post
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:112
Function
test_post_executes_logout
POST request executes logout even without id_token_hint.
tests/flask/test_oauth2/test_end_session.py:240
Function
test_post_logout_redirect_uris
()
tests/core/test_oidc/test_rpinitiated.py:41
Function
test_post_logout_redirect_uris_empty
Empty list should be valid.
tests/core/test_oidc/test_rpinitiated.py:79
Function
test_post_logout_redirect_uris_insecure_confidential_client
HTTP URIs should be accepted for confidential clients.
tests/core/test_oidc/test_rpinitiated.py:98
Function
test_post_logout_redirect_uris_insecure_public_client
HTTP URIs should be rejected for public clients.
tests/core/test_oidc/test_rpinitiated.py:85
Function
test_post_logout_redirect_uris_userinfo
A userinfo component must be rejected before the transport check.
tests/core/test_oidc/test_rpinitiated.py:70
Function
test_post_with_form_data
POST with form-encoded data works.
tests/flask/test_oauth2/test_end_session.py:200
Function
test_prepare_grant_uri
()
tests/core/test_oauth2/test_rfc6749_misc.py:51
Function
test_private_key_jwt
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:159
Function
test_private_key_jwt
(token)
tests/clients/test_requests/test_oauth2_session.py:557
← previous
next →
2,201–2,300 of 2,764, ranked by callers