package oauth const ScopeAtproto = "atproto" type AuthorizationServerMetadata struct { Issuer string `json:"issuer"` AuthorizationEndpoint string `json:"authorization_endpoint"` TokenEndpoint string `json:"token_endpoint"` PushedAuthorizationRequestEndpoint string `json:"pushed_authorization_request_endpoint"` RevocationEndpoint string `json:"revocation_endpoint"` RequirePushedAuthorizationRequests bool `json:"require_pushed_authorization_requests"` TokenEndpointAuthMethodsSupported []string `json:"token_endpoint_auth_methods_supported"` TokenEndpointAuthSigningAlgValuesSupported []string `json:"token_endpoint_auth_signing_alg_values_supported"` ResponseTypesSupported []string `json:"response_types_supported"` GrantTypesSupported []string `json:"grant_types_supported"` DPoPSigningAlgValuesSupported []string `json:"dpop_signing_alg_values_supported"` AuthorizationResponseISSParameterSupported bool `json:"authorization_response_iss_parameter_supported"` ClientIDMetadataDocumentSupported bool `json:"client_id_metadata_document_supported"` DPoPBoundAccessTokensSupported bool `json:"dpop_bound_access_tokens_supported"` CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported"` ScopesSupported []string `json:"scopes_supported"` } type ProtectedResourceMetadata struct { Resource string `json:"resource"` AuthorizationServers []string `json:"authorization_servers"` }