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_private_key_jwt2
(token)
tests/clients/test_requests/test_oauth2_session.py:568
Function
test_prompt
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:201
Function
test_prompt_none_not_logged
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:230
Function
test_public_client_cannot_redeem_id_jag_by_default
(test_client, client, db)
tests/flask/test_oauth2/test_id_jag_grant.py:387
Function
test_pure_code_flow
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:127
Function
test_read_access_denied
(test_client)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:100
Function
test_read_client
(test_client, client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:86
Function
test_read_invalid_client
(test_client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:123
Function
test_read_token_of_another_client
A registration access token cannot read another client.
tests/flask/test_oauth2/test_client_configuration_endpoint.py:514
Function
test_read_unauthorized_client
(test_client, token)
tests/flask/test_oauth2/test_client_configuration_endpoint.py:135
Function
test_redirect_preserved_after_confirmation
Redirect URI is used after POST confirmation.
tests/flask/test_oauth2/test_end_session.py:248
Function
test_redirect_requires_client
Redirect URI without resolvable client is ignored.
tests/flask/test_oauth2/test_end_session.py:418
Function
test_redirect_uri
RFC6749 indicate that fragments are forbidden in redirect_uri. The redirection endpoint URI MUST be an absolute URI as defined by [RF
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:591
Function
test_redirect_uri
()
tests/clients/test_requests/test_oauth1_session.py:130
Function
test_refresh_token
(token)
tests/clients/test_requests/test_assertion_session.py:24
Function
test_refresh_token
()
tests/clients/test_httpx/test_assertion_client.py:20
Function
test_refresh_token
()
tests/clients/test_httpx/test_async_assertion_client.py:20
Function
test_refresh_token_non_json_error_response
()
tests/clients/test_requests/test_assertion_session.py:177
Function
test_refresh_token_non_json_error_response
()
tests/clients/test_httpx/test_assertion_client.py:91
Function
test_register_compliance_hook
(token)
tests/clients/test_requests/test_oauth2_session.py:424
Function
test_register_conf_from_app
()
tests/clients/test_flask/test_oauth_client.py:38
Function
test_register_from_settings
()
tests/clients/test_django/test_oauth_client.py:57
Function
test_register_oauth1_remote_app
()
tests/clients/test_flask/test_oauth_client.py:109
Function
test_register_oauth2_remote_app
()
tests/clients/test_flask/test_oauth_client.py:198
Function
test_register_remote_app
()
tests/clients/test_django/test_oauth_client.py:21
Function
test_register_remote_app
()
tests/clients/test_starlette/test_oauth_client.py:34
Function
test_register_remote_app
()
tests/clients/test_flask/test_oauth_client.py:23
Function
test_register_signature_method
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:363
Function
test_register_with_config
()
tests/clients/test_starlette/test_oauth_client.py:48
Function
test_register_with_overwrite
()
tests/clients/test_django/test_oauth_client.py:39
Function
test_register_with_overwrite
()
tests/clients/test_starlette/test_oauth_client.py:56
Function
test_register_with_overwrite
()
tests/clients/test_flask/test_oauth_client.py:51
Function
test_registration
The 'require_signed_request_object' parameter should be available for client registration.
tests/flask/test_oauth2/test_jwt_authorization_request.py:476
Function
test_reject_empty_hmac_key
(alg, key)
tests/jose/test_jwt.py:171
Function
test_reject_openid_scope_not_allowed_for_client
( test_client, client, db, response_type )
tests/flask/test_oauth2/test_openid_implict_grant.py:111
Function
test_reject_openid_scope_not_allowed_for_client
( test_client, client, db, response_type )
tests/flask/test_oauth2/test_openid_hybrid_grant.py:167
Function
test_reject_pem_key_as_hmac_secret
(prefix, key_format)
tests/jose/test_jwt.py:36
Function
test_reject_ssh_key_as_hmac_secret
An SSH public key or certificate that verifies tokens is refused as an HMAC secret.
tests/jose/test_jwt.py:91
Function
test_request_and_request_uri_parameters
Passing both requests and request_uri parameters should return an error.
tests/flask/test_oauth2/test_jwt_authorization_request.py:170
Function
test_request_object_encryption_alg_values_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:460
Function
test_request_object_encryption_enc_values_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:488
Function
test_request_object_signing_alg_values_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:438
Function
test_request_param_in_request_object
The request and request_uri parameters should not be present in the request object.
tests/flask/test_oauth2/test_jwt_authorization_request.py:452
Function
test_request_parameter_get
Pass the authentication payload in a JWT in the request query parameter.
tests/flask/test_oauth2/test_jwt_authorization_request.py:137
Function
test_request_uri_parameter_get
Pass the authentication payload in a JWT in the request_uri query parameter.
tests/flask/test_oauth2/test_jwt_authorization_request.py:151
Function
test_request_uri_without_validation_policy
(test_client, server, extension_cls)
tests/flask/test_oauth2/test_jwt_authorization_request.py:651
Function
test_request_uris
()
tests/core/test_oidc/test_registration.py:7
Function
test_request_with_refresh_token
()
tests/clients/test_flask/test_oauth_client.py:551
Function
test_request_withhold_token
()
tests/clients/test_starlette/test_oauth_client.py:331
Function
test_request_without_token
()
tests/clients/test_django/test_oauth_client.py:328
Function
test_request_without_token
()
tests/clients/test_httpx/test_oauth2_client.py:405
Function
test_request_without_token
()
tests/clients/test_httpx/test_async_oauth2_client.py:444
Function
test_request_without_token
()
tests/clients/test_flask/test_oauth_client.py:594
Function
test_requested_scope_exceeding_scope_claim
A client cannot get scopes that the IdP did not grant in the assertion.
tests/flask/test_oauth2/test_id_jag_grant.py:463
Function
test_requested_scope_within_scope_claim
A client can request less than the scope of the claim.
tests/flask/test_oauth2/test_id_jag_grant.py:491
Function
test_requested_scope_without_scope_claim
Without a scope claim, the requested scope is checked by local policy.
tests/flask/test_oauth2/test_id_jag_grant.py:500
Function
test_require_auth_time
(test_client)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:553
Function
test_require_nonce
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:78
Function
test_require_nonce
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:163
Function
test_require_nonce
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:115
Function
test_response_mode_form_post
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:254
Function
test_response_mode_form_post
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:391
Function
test_response_mode_form_post_non_http_redirect_uri
A form_post response must not target a non-HTTP redirect URI. The request is refused before any form is rendered, whether the user approves o
tests/flask/test_oauth2/test_openid_implict_grant.py:282
Function
test_response_mode_form_post_non_http_redirect_uri
A form_post response must not target a non-HTTP redirect URI. The request is refused before any form is rendered, whether the user approves o
tests/flask/test_oauth2/test_openid_hybrid_grant.py:420
Function
test_response_mode_query
(test_client)
tests/flask/test_oauth2/test_openid_implict_grant.py:234
Function
test_response_mode_query
(test_client)
tests/flask/test_oauth2/test_openid_hybrid_grant.py:369
Function
test_response_types_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:134
Function
test_revocation
(test_client, client, access_token)
tests/flask/test_oauth2/rfc9068/test_token_revocation.py:128
Function
test_revocation_different_issuer
(test_client, claims, jwks, client)
tests/flask/test_oauth2/rfc9068/test_token_revocation.py:177
Function
test_revoke_old_credential
(test_client, token)
tests/flask/test_oauth2/test_refresh_token.py:218
Function
test_revoke_old_token
(factory, server, token)
tests/django/test_oauth2/test_refresh_token.py:147
Function
test_revoke_token
()
tests/clients/test_requests/test_oauth2_session.py:495
Function
test_revoke_token
()
tests/clients/test_httpx/test_oauth2_client.py:391
Function
test_revoke_token
()
tests/clients/test_httpx/test_async_oauth2_client.py:429
Function
test_revoke_token_bound_to_client
(test_client, token)
tests/flask/test_oauth2/test_revocation_endpoint.py:121
Function
test_revoke_token_with_hint
(factory, server, token)
tests/django/test_oauth2/test_revocation_endpoint.py:104
Function
test_revoke_token_with_hint
(test_client, token)
tests/flask/test_oauth2/test_revocation_endpoint.py:96
Function
test_revoke_token_without_hint
(factory, server, token)
tests/django/test_oauth2/test_revocation_endpoint.py:109
Function
test_revoke_token_without_hint
(test_client, token)
tests/flask/test_oauth2/test_revocation_endpoint.py:109
Function
test_rfc9207_disabled_success_no_iss
Check that when RFC9207 is not implemented, the authorization response contains no ``iss`` parameter.
tests/flask/test_oauth2/test_authorization_code_iss_parameter.py:58
Function
test_rfc9207_disbled_error_no_iss
Check that when RFC9207 is not implemented, the authorization response contains no ``iss`` parameter, even when an error is returned.
tests/flask/test_oauth2/test_authorization_code_iss_parameter.py:78
Function
test_rfc9207_enabled_error
Check that when RFC9207 is implemented, the authorization response has an ``iss`` parameter, even when an error is returned.
tests/flask/test_oauth2/test_authorization_code_iss_parameter.py:67
Function
test_rfc9207_enabled_success
Check that when RFC9207 is implemented, the authorization response has an ``iss`` parameter.
tests/flask/test_oauth2/test_authorization_code_iss_parameter.py:48
Function
test_rsa_import_ssh_pem
()
tests/jose/test_jwk.py:49
Function
test_rsa_key_generate
()
tests/jose/test_jwk.py:119
Function
test_rsa_private_key
()
tests/jose/test_jwk.py:65
Function
test_rsa_private_key2
()
tests/jose/test_jwk.py:80
Function
test_rsa_public_key
()
tests/jose/test_jwk.py:56
Function
test_rsa_sha1_signature
(factory)
tests/django/test_oauth1/test_resource_protector.py:144
Function
test_rsa_sha1_signature
(factory, rsa_server)
tests/django/test_oauth1/test_token_credentials.py:140
Function
test_rsa_sha1_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_resource_protector.py:149
Function
test_rsa_sha1_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:298
Function
test_rsa_sha1_signature
(app, test_client)
tests/flask/test_oauth1/test_token_credentials.py:189
Function
test_runtime_error_fetch_jwks_uri
()
tests/clients/test_starlette/test_user_mixin.py:134
Function
test_runtime_error_fetch_jwks_uri
()
tests/clients/test_flask/test_user_mixin.py:132
Function
test_s256_code_challenge_success
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:270
Function
test_same_grant_type_as_jwt_bearer
()
tests/core/test_oauth2/test_id_jag.py:490
Function
test_scope
()
tests/core/test_oauth2/test_rfc7662.py:16
Function
test_scope_address
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:218
Function
test_scope_claim_is_the_default_scope
Without a requested scope, the token gets the scope of the claim.
tests/flask/test_oauth2/test_id_jag_grant.py:472
← previous
next →
2,301–2,400 of 2,764, ranked by callers