MCPcopy Create free account

hub / github.com/authlib/authlib / functions

Functions2,764 in github.com/authlib/authlib

Functiontest_needs_confirmation_with_id_token
needs_confirmation is False when id_token_claims is present.
tests/flask/test_oauth2/test_end_session.py:131
Functiontest_needs_confirmation_without_id_token
needs_confirmation is True when id_token_claims is None.
tests/flask/test_oauth2/test_end_session.py:125
Functiontest_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
Functiontest_nested_json_jws
()
tests/jose/test_jws.py:126
Functiontest_no_client_id
()
tests/clients/test_requests/test_oauth1_session.py:25
Functiontest_no_public_key
(test_client, server)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:93
Functiontest_no_refresh_token_issued
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:215
Functiontest_no_token
(test_client)
tests/flask/test_oauth2/test_userinfo.py:156
Functiontest_non_access_token_skipped
(test_client, server, client)
tests/flask/test_oauth2/rfc9068/test_token_revocation.py:138
Functiontest_non_access_token_skipped
(test_client, client, server)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:165
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_nonascii
(generate_nonce, generate_timestamp)
tests/clients/test_requests/test_oauth1_session.py:117
Functiontest_nonce_replay
(test_client, server)
tests/flask/test_oauth2/test_openid_code_grant.py:181
Functiontest_not_enough_segments
()
tests/jose/test_jwe.py:26
Functiontest_not_found_client
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:93
Functiontest_not_implemented_code_challenge_method
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:294
Functiontest_not_supported_alg
()
tests/jose/test_jws.py:48
Functiontest_not_supported_alg
()
tests/jose/test_jwe.py:64
Functiontest_not_supported_auth_method
(test_client, server, client, db)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:112
Functiontest_not_validate_jti
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:177
Functiontest_nothing_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:16
Functiontest_nothing_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:10
Functiontest_oauth1_authorize
(factory)
tests/clients/test_django/test_oauth_client.py:64
Functiontest_oauth1_authorize
()
tests/clients/test_starlette/test_oauth_client.py:65
Functiontest_oauth1_authorize_cache
()
tests/clients/test_flask/test_oauth_client.py:132
Functiontest_oauth1_authorize_session
()
tests/clients/test_flask/test_oauth_client.py:167
Functiontest_oauth2_access_token_with_post
(factory)
tests/clients/test_django/test_oauth_client.py:260
Functiontest_oauth2_access_token_with_post
()
tests/clients/test_flask/test_oauth_client.py:496
Functiontest_oauth2_authorize
(factory)
tests/clients/test_django/test_oauth_client.py:95
Functiontest_oauth2_authorize
()
tests/clients/test_starlette/test_oauth_client.py:101
Functiontest_oauth2_authorize_access_denied
(factory)
tests/clients/test_django/test_oauth_client.py:123
Functiontest_oauth2_authorize_access_denied
()
tests/clients/test_starlette/test_oauth_client.py:201
Functiontest_oauth2_authorize_access_denied
()
tests/clients/test_flask/test_oauth_client.py:290
Functiontest_oauth2_authorize_cache
()
tests/clients/test_flask/test_oauth_client.py:216
Functiontest_oauth2_authorize_code_challenge
(factory)
tests/clients/test_django/test_oauth_client.py:141
Functiontest_oauth2_authorize_code_challenge
()
tests/clients/test_starlette/test_oauth_client.py:231
Functiontest_oauth2_authorize_code_challenge
()
tests/clients/test_flask/test_oauth_client.py:401
Functiontest_oauth2_authorize_code_verifier
(factory)
tests/clients/test_django/test_oauth_client.py:175
Functiontest_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
Functiontest_oauth2_authorize_form_post_callback
Test that POST callbacks (form_post response mode) work properly.
tests/clients/test_starlette/test_oauth_client.py:436
Functiontest_oauth2_authorize_missing_code
()
tests/clients/test_flask/test_oauth_client.py:623
Functiontest_oauth2_authorize_no_url
()
tests/clients/test_starlette/test_oauth_client.py:352
Functiontest_oauth2_authorize_session
()
tests/clients/test_flask/test_oauth_client.py:253
Functiontest_oauth2_authorize_via_custom_client
()
tests/clients/test_flask/test_oauth_client.py:312
Functiontest_oauth2_authorize_with_metadata
()
tests/clients/test_starlette/test_oauth_client.py:405
Functiontest_oauth2_authorize_with_metadata
()
tests/clients/test_flask/test_oauth_client.py:369
Functiontest_oauth2_fetch_metadata
()
tests/clients/test_starlette/test_oauth_client.py:368
Functiontest_oauth2_fetch_metadata
()
tests/clients/test_flask/test_oauth_client.py:334
Functiontest_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
Functiontest_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
Functiontest_oauth2token_is_expired_with_valid_token
Token with future expires_at should not be expired.
tests/core/test_oauth2/test_rfc6749_misc.py:103
Functiontest_oct_generate_oct_key
()
tests/jose/test_jwk.py:34
Functiontest_oct_import_oct_key
()
tests/jose/test_jwk.py:14
Functiontest_oct_invalid_oct_key
()
tests/jose/test_jwk.py:29
Functiontest_oidc_request_uri_policy_rejects_registered_uri
( test_client, server, require_registration )
tests/flask/test_oauth2/test_jwt_authorization_request.py:698
Functiontest_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
Functiontest_oidc_request_uri_without_registration_hook
(test_client, server, monkeypatch)
tests/flask/test_oauth2/test_jwt_authorization_request.py:750
Functiontest_okp_key_generate_pem
()
tests/jose/test_jwk.py:216
Functiontest_openid_authorize
(factory)
tests/clients/test_django/test_oauth_client.py:211
Functiontest_openid_authorize
()
tests/clients/test_flask/test_oauth_client.py:442
Functiontest_optional_fields
(test_client, token_generator, user, client, jwks)
tests/flask/test_oauth2/rfc9068/test_token_generation.py:195
Functiontest_optional_token
()
tests/flask/test_oauth2/test_oauth2_server.py:64
Functiontest_override_default_request_timeout
(token)
tests/clients/test_requests/test_oauth2_session.py:646
Functiontest_parse_authorization_code_response
()
tests/core/test_oauth2/test_rfc6749_misc.py:12
Functiontest_parse_id_token
()
tests/clients/test_starlette/test_user_mixin.py:53
Functiontest_parse_id_token
()
tests/clients/test_flask/test_user_mixin.py:45
Functiontest_parse_id_token_nonce_supported
(token_nonce)
tests/clients/test_starlette/test_user_mixin.py:95
Functiontest_parse_id_token_nonce_supported
(token_nonce)
tests/clients/test_flask/test_user_mixin.py:89
Functiontest_parse_implicit_response
()
tests/core/test_oauth2/test_rfc6749_misc.py:29
Functiontest_parse_json
()
tests/jose/test_jwe.py:1410
Functiontest_parse_json_fails_if_json_msg_is_invalid
()
tests/jose/test_jwe.py:1457
Functiontest_parse_response_url
()
tests/clients/test_requests/test_oauth1_session.py:169
Functiontest_password_grant_type
(token)
tests/clients/test_requests/test_oauth2_session.py:282
Functiontest_password_grant_type
()
tests/clients/test_httpx/test_oauth2_client.py:246
Functiontest_password_grant_type
()
tests/clients/test_httpx/test_async_oauth2_client.py:245
Functiontest_permission_denied
(test_client, introspection_endpoint, access_token, client)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:204
Functiontest_plain_code_challenge_failed
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:229
Functiontest_plain_code_challenge_invalid
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:209
Functiontest_plain_code_challenge_success
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:249
Functiontest_plaintext_signature
(factory)
tests/django/test_oauth1/test_resource_protector.py:87
Functiontest_plaintext_signature
(factory, server)
tests/django/test_oauth1/test_token_credentials.py:72
Functiontest_plaintext_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_resource_protector.py:92
Functiontest_plaintext_signature
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:186
Functiontest_plaintext_signature
(app, test_client)
tests/flask/test_oauth1/test_token_credentials.py:121
Functiontest_policy_denial
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:440
Functiontest_policy_denial
(test_client, server)
tests/flask/test_oauth2/test_id_jag_grant.py:303
Functiontest_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
Functiontest_post_executes_logout
POST request executes logout even without id_token_hint.
tests/flask/test_oauth2/test_end_session.py:240
Functiontest_post_logout_redirect_uris
()
tests/core/test_oidc/test_rpinitiated.py:41
Functiontest_post_logout_redirect_uris_empty
Empty list should be valid.
tests/core/test_oidc/test_rpinitiated.py:79
Functiontest_post_logout_redirect_uris_insecure_confidential_client
HTTP URIs should be accepted for confidential clients.
tests/core/test_oidc/test_rpinitiated.py:98
Functiontest_post_logout_redirect_uris_insecure_public_client
HTTP URIs should be rejected for public clients.
tests/core/test_oidc/test_rpinitiated.py:85
Functiontest_post_logout_redirect_uris_userinfo
A userinfo component must be rejected before the transport check.
tests/core/test_oidc/test_rpinitiated.py:70
Functiontest_post_with_form_data
POST with form-encoded data works.
tests/flask/test_oauth2/test_end_session.py:200
Functiontest_prepare_grant_uri
()
tests/core/test_oauth2/test_rfc6749_misc.py:51
Functiontest_private_key_jwt
(test_client, server)
tests/flask/test_oauth2/test_jwt_bearer_client_auth.py:159
Functiontest_private_key_jwt
(token)
tests/clients/test_requests/test_oauth2_session.py:557
← previousnext →2,201–2,300 of 2,764, ranked by callers