Skip to content

AuthorizationServerMetadata

Source code in docs_src/capo_credentialbroker_control/types/authorization_server_metadata.py
class AuthorizationServerMetadata(TypedDict, closed=True):
    issuer: "capo_credentialbroker_control.types.authorization_server_url.AuthorizationServerUrl"
    """<p>Identifier the authorization server uses for itself, as it appears in the tokens it issues.</p>"""
    token_endpoint: "capo_credentialbroker_control.types.authorization_server_url.AuthorizationServerUrl"
    """<p>An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.</p>"""
    authorization_endpoint: NotRequired[
        "capo_credentialbroker_control.types.authorization_server_url.AuthorizationServerUrl"
    ]
    """<p>Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.</p>"""

authorization_endpoint instance-attribute

authorization_endpoint: NotRequired[AuthorizationServerUrl]

Where the end user is sent to grant consent. Required in practice for a provider using AUTHORIZATION_CODE, which has no other source for it; a provider that resolves its endpoints from discoveryUrl instead takes it from the discovery document. Optional so the grants that never redirect a browser need not supply one.

issuer instance-attribute

Identifier the authorization server uses for itself, as it appears in the tokens it issues.

token_endpoint instance-attribute

token_endpoint: AuthorizationServerUrl

An HTTPS URL identifying or exposed by an authorization server, its issuer identifier, its authorization endpoint, or its token endpoint.