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_scope_email
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:239
Function
test_scope_minimum
(test_client)
tests/flask/test_oauth2/test_userinfo.py:182
Function
test_scope_operator
(factory, token)
tests/django/test_oauth2/test_resource_protector.py:104
Function
test_scope_operator
(test_client, token)
tests/flask/test_oauth2/test_oauth2_server.py:156
Function
test_scope_phone
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:254
Function
test_scope_profile
(test_client, db, token)
tests/flask/test_oauth2/test_userinfo.py:191
Function
test_scope_restriction
If an authorization request includes a scope parameter, the corresponding issued JWT access token SHOULD include a 'scope' claim as defined in Sec
tests/flask/test_oauth2/rfc9068/test_resource_server.py:288
Function
test_scope_signed_secured
When userinfo_signed_response_alg is set as client metadata and not none, the userinfo response must be signed.
tests/flask/test_oauth2/test_userinfo.py:301
Function
test_scope_signed_unsecured
When userinfo_signed_response_alg is set as client metadata, the userinfo response must be a JWT.
tests/flask/test_oauth2/test_userinfo.py:270
Function
test_scope_to_list
()
tests/core/test_oauth2/test_rfc6749_misc.py:67
Function
test_scopes_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:118
Function
test_secure_transport
(uri)
tests/core/test_common_security.py:26
Function
test_serialize_compact_allows_unknown_fields_in_header_while_private_fields_not_restricted
()
tests/jose/test_jwe.py:267
Function
test_serialize_compact_fails_if_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:253
Function
test_serialize_json_allows_unknown_fields_in_headers_while_private_fields_not_restricted
()
tests/jose/test_jwe.py:325
Function
test_serialize_json_empty_payload
()
tests/jose/test_jws.py:171
Function
test_serialize_json_fails_if_protected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:278
Function
test_serialize_json_fails_if_recipient_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:309
Function
test_serialize_json_fails_if_unprotected_header_contains_unknown_field_while_private_fields_restricted
()
tests/jose/test_jwe.py:293
Function
test_serialize_json_ignores_additional_members_in_recipients_elements
()
tests/jose/test_jwe.py:343
Function
test_serialize_json_overwrite_header
()
tests/jose/test_jws.py:200
Function
test_server_require_request_object
When server metadata 'require_signed_request_object' is true, request objects must be used.
tests/flask/test_oauth2/test_jwt_authorization_request.py:207
Function
test_server_require_request_object_alg_none
When server metadata 'require_signed_request_object' is true, the JWT alg cannot be none.
tests/flask/test_oauth2/test_jwt_authorization_request.py:223
Function
test_set_token
()
tests/clients/test_requests/test_oauth1_session.py:138
Function
test_sign_custom_jti
(rsa_private, rsa_public)
tests/core/test_oauth2/test_id_jag.py:167
Function
test_sign_custom_jti
()
tests/core/test_oauth2/test_rfc7523_private_key.py:116
Function
test_sign_custom_jti
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:112
Function
test_sign_nothing_set
()
tests/core/test_oauth2/test_rfc7523_private_key.py:94
Function
test_sign_nothing_set
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:88
Function
test_sign_produces_valid_jwt
(rsa_private, rsa_public)
tests/core/test_oauth2/test_id_jag.py:134
Function
test_sign_requires_alg
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:156
Function
test_sign_requires_subject
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:144
Function
test_sign_with_additional_claim
()
tests/core/test_oauth2/test_rfc7523_private_key.py:189
Function
test_sign_with_additional_claim
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:188
Function
test_sign_with_additional_claims
()
tests/core/test_oauth2/test_rfc7523_private_key.py:212
Function
test_sign_with_additional_claims
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:212
Function
test_sign_with_additional_header
()
tests/core/test_oauth2/test_rfc7523_private_key.py:138
Function
test_sign_with_additional_header
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:135
Function
test_sign_with_additional_headers
()
tests/core/test_oauth2/test_rfc7523_private_key.py:160
Function
test_sign_with_additional_headers
()
tests/core/test_oauth2/test_rfc7523_client_secret.py:158
Function
test_sign_with_ec_key
``PrivateKeyJWT`` should accept an ``ECKey`` private key and sign with ES256.
tests/core/test_oauth2/test_rfc7523_private_key.py:236
Function
test_sign_with_extra_claims
(rsa_private, rsa_public)
tests/core/test_oauth2/test_id_jag.py:173
Function
test_sign_with_non_recommended_alg
Signing must work with algorithms outside joserfc's recommended set.
tests/core/test_oauth2/test_rfc7523_private_key.py:251
Function
test_signature_methods
(generate_nonce, generate_timestamp)
tests/clients/test_requests/test_oauth1_session.py:57
Function
test_signature_requirement_with_explicit_algorithms
( test_client, server, client, db, require_signed, algorithm_source, parameter,
tests/flask/test_oauth2/test_jwt_authorization_request.py:514
Function
test_signature_types
()
tests/clients/test_requests/test_oauth1_session.py:30
Function
test_software_statement
(test_client)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:78
Function
test_ssh_prefixes_are_checked
Every SSH key type loaded by an asymmetric key class is checked before a key is accepted as an HMAC secret.
tests/jose/test_jwt.py:138
Function
test_subject_of_another_issuer
An IdP cannot get an access token for a user of another IdP.
tests/flask/test_oauth2/test_id_jag_grant.py:128
Function
test_subject_types_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:138
Function
test_supported_code_challenge_method
(test_client)
tests/flask/test_oauth2/test_code_challenge.py:76
Function
test_surrounding_whitespace_is_ignored
urlsplit() strips whitespace and control characters before parsing.
tests/core/test_common_security.py:79
Function
test_temporary_credential_parameters_errors
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:38
Function
test_temporary_credential_signatures_errors
(app, test_client, use_cache)
tests/flask/test_oauth1/test_temporary_credentials.py:141
Function
test_token_auth_method_client_secret_post
(token)
tests/clients/test_requests/test_oauth2_session.py:246
Function
test_token_auth_method_client_secret_post
()
tests/clients/test_httpx/test_oauth2_client.py:207
Function
test_token_auth_method_client_secret_post
()
tests/clients/test_httpx/test_async_oauth2_client.py:201
Function
test_token_endpoint_auth_methods_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oauth2.py:195
Function
test_token_endpoint_auth_signing_alg
()
tests/core/test_oidc/test_registration.py:29
Function
test_token_endpoint_auth_signing_alg_supported
(test_client, metadata)
tests/flask/test_oauth2/test_client_registration_endpoint_oidc.py:98
Function
test_token_expired
(test_client, claims, client, jwks)
tests/flask/test_oauth2/rfc9068/test_token_introspection.py:216
Function
test_token_expired
()
tests/clients/test_requests/test_oauth2_session.py:407
Function
test_token_from_fragment
(token)
tests/clients/test_requests/test_oauth2_session.py:144
Function
test_token_from_fragment
()
tests/clients/test_httpx/test_oauth2_client.py:108
Function
test_token_from_fragment
()
tests/clients/test_httpx/test_async_oauth2_client.py:134
Function
test_token_generator
(test_client, server, app)
tests/flask/test_oauth2/test_password_grant.py:196
Function
test_token_generator
(test_client, app, server)
tests/flask/test_oauth2/test_client_credentials_grant.py:101
Function
test_token_generator
(test_client, app, server)
tests/flask/test_oauth2/test_implicit_grant.py:89
Function
test_token_generator
(test_client, app, server)
tests/flask/test_oauth2/test_jwt_bearer_grant.py:127
Function
test_token_generator
(test_client, token, app, server)
tests/flask/test_oauth2/test_refresh_token.py:246
Function
test_token_generator
(app, test_client, client, server)
tests/flask/test_oauth2/test_authorization_code_grant.py:323
Function
test_token_has_bad_scope
Test that tokens without 'openid' scope cannot access the userinfo endpoint.
tests/flask/test_oauth2/test_userinfo.py:169
Function
test_token_status
()
tests/clients/test_requests/test_oauth2_session.py:350
Function
test_token_status
()
tests/clients/test_httpx/test_oauth2_client.py:295
Function
test_token_status
()
tests/clients/test_httpx/test_async_oauth2_client.py:302
Function
test_token_status2
()
tests/clients/test_requests/test_oauth2_session.py:357
Function
test_token_status3
()
tests/clients/test_requests/test_oauth2_session.py:364
Function
test_token_with_future_nbf_rejected
Token with nbf in the future is rejected.
tests/flask/test_oauth2/test_end_session.py:341
Function
test_trusted_client_missing_code_verifier
(test_client, db, client)
tests/flask/test_oauth2/test_code_challenge.py:176
Function
test_trusted_client_without_code_challenge
(test_client, db, client)
tests/flask/test_oauth2/test_code_challenge.py:82
Function
test_typ
The resource server MUST verify that the 'typ' header value is 'at+jwt' or 'application/at+jwt' and reject tokens carrying any other value.
tests/flask/test_oauth2/rfc9068/test_resource_server.py:209
Function
test_ui_locales_extracted
ui_locales parameter is extracted and available in EndSessionRequest.
tests/flask/test_oauth2/test_end_session.py:485
Function
test_unapproved_request_uri_rejected_before_fetch
(test_client, server, request_uri)
tests/flask/test_oauth2/test_jwt_authorization_request.py:581
Function
test_unauthorized_client
(factory, server, client)
tests/django/test_oauth2/test_password_grant.py:135
Function
test_unauthorized_client
(factory, server, client)
tests/django/test_oauth2/test_client_credentials_grant.py:78
Function
test_unauthorized_client
(test_client, client)
tests/flask/test_oauth2/test_jwt_bearer_grant.py:101
Function
test_unauthorized_client
(test_client, db, client)
tests/flask/test_oauth2/test_device_code_grant.py:139
Function
test_unauthorized_client
(test_client, client)
tests/flask/test_oauth2/test_id_jag_grant.py:246
Function
test_unauthorized_client
(test_client, client, db)
tests/flask/test_oauth2/test_authorization_code_grant.py:73
Function
test_unauthorized_grant_type
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:360
Function
test_unknown_client_claim
(rsa_private)
tests/core/test_oauth2/test_id_jag.py:345
Function
test_unknown_client_claim
(test_client)
tests/flask/test_oauth2/test_id_jag_grant.py:222
Function
test_unknown_issuer
resolve_issuer_client' returning None yields an 'invalid_grant' error.
tests/flask/test_oauth2/test_jwt_bearer_grant.py:347
Function
test_unparsable_authority
urlparse() raises ValueError on these, it must not propagate.
tests/core/test_common_urls.py:56
Function
test_unparseable_expires_at_returns_none
Test that is_expired returns None when expires_at is unparsable and no expires_in.
tests/clients/test_requests/test_oauth2_session.py:390
Function
test_unprotected_crit_rejected_in_json_deserialize
()
tests/jose/test_jws.py:266
Function
test_unprotected_crit_rejected_in_json_serialize
()
tests/jose/test_jws.py:257
Function
test_unsupported_client
(test_client, db, client)
tests/flask/test_oauth2/test_implicit_grant.py:53
Function
test_unsupported_request_parameter
Passing the request parameter when unsupported should raise a 'request_not_supported' error.
tests/flask/test_oauth2/test_jwt_authorization_request.py:311
Function
test_unsupported_request_uri_parameter
Passing the request parameter when unsupported should raise a 'request_uri_not_supported' error.
tests/flask/test_oauth2/test_jwt_authorization_request.py:331
← previous
next →
2,401–2,500 of 2,764, ranked by callers