Live video on the AT Protocol
1package oproxy
2
3import "github.com/haileyok/atproto-oauth-golang/helpers"
4
5type OAuthClientMetadata struct {
6 RedirectURIs []string `json:"redirect_uris"`
7 ResponseTypes []string `json:"response_types,omitempty"`
8 GrantTypes []string `json:"grant_types,omitempty"`
9 Scope string `json:"scope,omitempty"`
10 TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty"`
11 TokenEndpointAuthSigningAlg string `json:"token_endpoint_auth_signing_alg,omitempty"`
12 UserinfoSignedResponseAlg string `json:"userinfo_signed_response_alg,omitempty"`
13 UserinfoEncryptedResponseAlg string `json:"userinfo_encrypted_response_alg,omitempty"`
14 JwksURI string `json:"jwks_uri,omitempty"`
15 ApplicationType string `json:"application_type,omitempty"` // "web" or "native"
16 SubjectType string `json:"subject_type,omitempty"` // "public" or "pairwise"
17 RequestObjectSigningAlg string `json:"request_object_signing_alg,omitempty"`
18 IDTokenSignedResponseAlg string `json:"id_token_signed_response_alg,omitempty"`
19 AuthorizationSignedResponseAlg string `json:"authorization_signed_response_alg,omitempty"`
20 AuthorizationEncryptedResponseEnc string `json:"authorization_encrypted_response_enc,omitempty"`
21 AuthorizationEncryptedResponseAlg string `json:"authorization_encrypted_response_alg,omitempty"`
22 ClientID string `json:"client_id,omitempty"`
23 ClientName string `json:"client_name,omitempty"`
24 ClientURI string `json:"client_uri,omitempty"`
25 PolicyURI string `json:"policy_uri,omitempty"`
26 TosURI string `json:"tos_uri,omitempty"`
27 LogoURI string `json:"logo_uri,omitempty"`
28 DefaultMaxAge int `json:"default_max_age,omitempty"`
29 RequireAuthTime *bool `json:"require_auth_time,omitempty"`
30 Contacts []string `json:"contacts,omitempty"`
31 TLSClientCertificateBoundAccessTokens *bool `json:"tls_client_certificate_bound_access_tokens,omitempty"`
32 DPoPBoundAccessTokens *bool `json:"dpop_bound_access_tokens,omitempty"`
33 AuthorizationDetailsTypes []string `json:"authorization_details_types,omitempty"`
34 Jwks *helpers.JwksResponseObject `json:"jwks,omitempty"`
35}