OAuth2ClientRegistrationRequest represents RFC 7591 Dynamic Client Registration Request.
| 437 | |
| 438 | // OAuth2ClientRegistrationRequest represents RFC 7591 Dynamic Client Registration Request. |
| 439 | type OAuth2ClientRegistrationRequest struct { |
| 440 | RedirectURIs []string `json:"redirect_uris,omitempty"` |
| 441 | ClientName string `json:"client_name,omitempty"` |
| 442 | ClientURI string `json:"client_uri,omitempty"` |
| 443 | LogoURI string `json:"logo_uri,omitempty"` |
| 444 | TOSURI string `json:"tos_uri,omitempty"` |
| 445 | PolicyURI string `json:"policy_uri,omitempty"` |
| 446 | JWKSURI string `json:"jwks_uri,omitempty"` |
| 447 | JWKS json.RawMessage `json:"jwks,omitempty" swaggertype:"object"` |
| 448 | SoftwareID string `json:"software_id,omitempty"` |
| 449 | SoftwareVersion string `json:"software_version,omitempty"` |
| 450 | SoftwareStatement string `json:"software_statement,omitempty"` |
| 451 | GrantTypes []OAuth2ProviderGrantType `json:"grant_types,omitempty"` |
| 452 | ResponseTypes []OAuth2ProviderResponseType `json:"response_types,omitempty"` |
| 453 | TokenEndpointAuthMethod OAuth2TokenEndpointAuthMethod `json:"token_endpoint_auth_method,omitempty"` |
| 454 | Scope string `json:"scope,omitempty"` |
| 455 | Contacts []string `json:"contacts,omitempty"` |
| 456 | } |
| 457 | |
| 458 | func (req OAuth2ClientRegistrationRequest) ApplyDefaults() OAuth2ClientRegistrationRequest { |
| 459 | // Apply grant type defaults. |
nothing calls this directly
no outgoing calls
no test coverage detected