Documentation ¶
Overview ¶
Package dcr provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
- func NewDeleteDataRecipientRegistrationRequest(server string, clientId string, params *DeleteDataRecipientRegistrationParams) (*http.Request, error)
- func NewGetClientRegistrationRequest(server string, clientId string, params *GetClientRegistrationParams) (*http.Request, error)
- func NewPostDataRecipientRegistrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutDataRecipientRegistrationRequestWithBody(server string, clientId string, params *PutDataRecipientRegistrationParams, ...) (*http.Request, error)
- type Client
- func (c *Client) DeleteDataRecipientRegistration(ctx context.Context, clientId string, ...) (*http.Response, error)
- func (c *Client) GetClientRegistration(ctx context.Context, clientId string, params *GetClientRegistrationParams, ...) (*http.Response, error)
- func (c *Client) PostDataRecipientRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutDataRecipientRegistrationWithBody(ctx context.Context, clientId string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientRegistrationRequest
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteDataRecipientRegistrationWithResponse(ctx context.Context, clientId string, ...) (*DeleteDataRecipientRegistrationResponse, error)
- func (c *ClientWithResponses) GetClientRegistrationWithResponse(ctx context.Context, clientId string, params *GetClientRegistrationParams, ...) (*GetClientRegistrationResponse, error)
- func (c *ClientWithResponses) PostDataRecipientRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostDataRecipientRegistrationResponse, error)
- func (c *ClientWithResponses) PutDataRecipientRegistrationWithBodyWithResponse(ctx context.Context, clientId string, ...) (*PutDataRecipientRegistrationResponse, error)
- type ClientWithResponsesInterface
- type DeleteDataRecipientRegistrationParams
- type DeleteDataRecipientRegistrationResponse
- type GetClientRegistrationParams
- type GetClientRegistrationResponse
- type HttpRequestDoer
- type PostDataRecipientRegistrationResponse
- type PutDataRecipientRegistrationParams
- type PutDataRecipientRegistrationResponse
- type RegistrationError
- type RegistrationErrorError
- type RegistrationProperties
- type RegistrationPropertiesApplicationType
- type RegistrationPropertiesAuthorizationEncryptedResponseAlg
- type RegistrationPropertiesAuthorizationEncryptedResponseEnc
- type RegistrationPropertiesAuthorizationSignedResponseAlg
- type RegistrationPropertiesGrantTypes
- type RegistrationPropertiesIdTokenSignedResponseAlg
- type RegistrationPropertiesRequestObjectSigningAlg
- type RegistrationPropertiesResponseTypes
- type RegistrationPropertiesSoftwareRoles
- type RegistrationPropertiesTokenEndpointAuthMethod
- type RegistrationPropertiesTokenEndpointAuthSigningAlg
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteDataRecipientRegistrationRequest ¶
func NewDeleteDataRecipientRegistrationRequest(server string, clientId string, params *DeleteDataRecipientRegistrationParams) (*http.Request, error)
NewDeleteDataRecipientRegistrationRequest generates requests for DeleteDataRecipientRegistration
func NewGetClientRegistrationRequest ¶
func NewGetClientRegistrationRequest(server string, clientId string, params *GetClientRegistrationParams) (*http.Request, error)
NewGetClientRegistrationRequest generates requests for GetClientRegistration
func NewPostDataRecipientRegistrationRequestWithBody ¶
func NewPostDataRecipientRegistrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostDataRecipientRegistrationRequestWithBody generates requests for PostDataRecipientRegistration with any type of body
func NewPutDataRecipientRegistrationRequestWithBody ¶
func NewPutDataRecipientRegistrationRequestWithBody(server string, clientId string, params *PutDataRecipientRegistrationParams, contentType string, body io.Reader) (*http.Request, error)
NewPutDataRecipientRegistrationRequestWithBody generates requests for PutDataRecipientRegistration with any type of body
Types ¶
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteDataRecipientRegistration ¶
func (c *Client) DeleteDataRecipientRegistration(ctx context.Context, clientId string, params *DeleteDataRecipientRegistrationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetClientRegistration ¶
func (c *Client) GetClientRegistration(ctx context.Context, clientId string, params *GetClientRegistrationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostDataRecipientRegistrationWithBody ¶
func (*Client) PutDataRecipientRegistrationWithBody ¶
type ClientInterface ¶
type ClientInterface interface { // PostDataRecipientRegistration request with any body PostDataRecipientRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteDataRecipientRegistration request DeleteDataRecipientRegistration(ctx context.Context, clientId string, params *DeleteDataRecipientRegistrationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClientRegistration request GetClientRegistration(ctx context.Context, clientId string, params *GetClientRegistrationParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PutDataRecipientRegistration request with any body PutDataRecipientRegistrationWithBody(ctx context.Context, clientId string, params *PutDataRecipientRegistrationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientRegistrationRequest ¶
type ClientRegistrationRequest = string
ClientRegistrationRequest The registration request JWT to be used to register with a Data Holder.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteDataRecipientRegistrationWithResponse ¶
func (c *ClientWithResponses) DeleteDataRecipientRegistrationWithResponse(ctx context.Context, clientId string, params *DeleteDataRecipientRegistrationParams, reqEditors ...RequestEditorFn) (*DeleteDataRecipientRegistrationResponse, error)
DeleteDataRecipientRegistrationWithResponse request returning *DeleteDataRecipientRegistrationResponse
func (*ClientWithResponses) GetClientRegistrationWithResponse ¶
func (c *ClientWithResponses) GetClientRegistrationWithResponse(ctx context.Context, clientId string, params *GetClientRegistrationParams, reqEditors ...RequestEditorFn) (*GetClientRegistrationResponse, error)
GetClientRegistrationWithResponse request returning *GetClientRegistrationResponse
func (*ClientWithResponses) PostDataRecipientRegistrationWithBodyWithResponse ¶
func (c *ClientWithResponses) PostDataRecipientRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDataRecipientRegistrationResponse, error)
PostDataRecipientRegistrationWithBodyWithResponse request with arbitrary body returning *PostDataRecipientRegistrationResponse
func (*ClientWithResponses) PutDataRecipientRegistrationWithBodyWithResponse ¶
func (c *ClientWithResponses) PutDataRecipientRegistrationWithBodyWithResponse(ctx context.Context, clientId string, params *PutDataRecipientRegistrationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDataRecipientRegistrationResponse, error)
PutDataRecipientRegistrationWithBodyWithResponse request with arbitrary body returning *PutDataRecipientRegistrationResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // PostDataRecipientRegistration request with any body PostDataRecipientRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDataRecipientRegistrationResponse, error) // DeleteDataRecipientRegistration request DeleteDataRecipientRegistrationWithResponse(ctx context.Context, clientId string, params *DeleteDataRecipientRegistrationParams, reqEditors ...RequestEditorFn) (*DeleteDataRecipientRegistrationResponse, error) // GetClientRegistration request GetClientRegistrationWithResponse(ctx context.Context, clientId string, params *GetClientRegistrationParams, reqEditors ...RequestEditorFn) (*GetClientRegistrationResponse, error) // PutDataRecipientRegistration request with any body PutDataRecipientRegistrationWithBodyWithResponse(ctx context.Context, clientId string, params *PutDataRecipientRegistrationParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutDataRecipientRegistrationResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteDataRecipientRegistrationParams ¶
type DeleteDataRecipientRegistrationParams struct { // Authorization An Authorisation Token as per **[[RFC6750]](#nref-RFC6750)** Authorization string `json:"Authorization"` }
DeleteDataRecipientRegistrationParams defines parameters for DeleteDataRecipientRegistration.
type DeleteDataRecipientRegistrationResponse ¶
func ParseDeleteDataRecipientRegistrationResponse ¶
func ParseDeleteDataRecipientRegistrationResponse(rsp *http.Response) (*DeleteDataRecipientRegistrationResponse, error)
ParseDeleteDataRecipientRegistrationResponse parses an HTTP response from a DeleteDataRecipientRegistrationWithResponse call
func (DeleteDataRecipientRegistrationResponse) Status ¶
func (r DeleteDataRecipientRegistrationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDataRecipientRegistrationResponse) StatusCode ¶
func (r DeleteDataRecipientRegistrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClientRegistrationParams ¶
type GetClientRegistrationParams struct { // Authorization An Authorisation Token as per **[[RFC6750]](#nref-RFC6750)** Authorization string `json:"Authorization"` }
GetClientRegistrationParams defines parameters for GetClientRegistration.
type GetClientRegistrationResponse ¶
type GetClientRegistrationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RegistrationProperties }
func ParseGetClientRegistrationResponse ¶
func ParseGetClientRegistrationResponse(rsp *http.Response) (*GetClientRegistrationResponse, error)
ParseGetClientRegistrationResponse parses an HTTP response from a GetClientRegistrationWithResponse call
func (GetClientRegistrationResponse) Status ¶
func (r GetClientRegistrationResponse) Status() string
Status returns HTTPResponse.Status
func (GetClientRegistrationResponse) StatusCode ¶
func (r GetClientRegistrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type PostDataRecipientRegistrationResponse ¶
type PostDataRecipientRegistrationResponse struct { Body []byte HTTPResponse *http.Response JSON201 *RegistrationProperties JSON400 *RegistrationError }
func ParsePostDataRecipientRegistrationResponse ¶
func ParsePostDataRecipientRegistrationResponse(rsp *http.Response) (*PostDataRecipientRegistrationResponse, error)
ParsePostDataRecipientRegistrationResponse parses an HTTP response from a PostDataRecipientRegistrationWithResponse call
func (PostDataRecipientRegistrationResponse) Status ¶
func (r PostDataRecipientRegistrationResponse) Status() string
Status returns HTTPResponse.Status
func (PostDataRecipientRegistrationResponse) StatusCode ¶
func (r PostDataRecipientRegistrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutDataRecipientRegistrationParams ¶
type PutDataRecipientRegistrationParams struct { // Authorization An Authorisation Token as per **[[RFC6750]](#nref-RFC6750)** Authorization string `json:"Authorization"` }
PutDataRecipientRegistrationParams defines parameters for PutDataRecipientRegistration.
type PutDataRecipientRegistrationResponse ¶
type PutDataRecipientRegistrationResponse struct { Body []byte HTTPResponse *http.Response JSON200 *RegistrationProperties JSON400 *RegistrationError }
func ParsePutDataRecipientRegistrationResponse ¶
func ParsePutDataRecipientRegistrationResponse(rsp *http.Response) (*PutDataRecipientRegistrationResponse, error)
ParsePutDataRecipientRegistrationResponse parses an HTTP response from a PutDataRecipientRegistrationWithResponse call
func (PutDataRecipientRegistrationResponse) Status ¶
func (r PutDataRecipientRegistrationResponse) Status() string
Status returns HTTPResponse.Status
func (PutDataRecipientRegistrationResponse) StatusCode ¶
func (r PutDataRecipientRegistrationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegistrationError ¶
type RegistrationError struct { // Error Predefined error code as described in [section 3.3 OIDC Dynamic Client Registration](https://openid.net/specs/openid-connect-registration-1_0.html) Error RegistrationErrorError `json:"error"` // ErrorDescription Additional text description of the error for debugging. ErrorDescription *string `json:"error_description,omitempty"` }
RegistrationError defines model for RegistrationError.
type RegistrationErrorError ¶
type RegistrationErrorError string
RegistrationErrorError Predefined error code as described in [section 3.3 OIDC Dynamic Client Registration](https://openid.net/specs/openid-connect-registration-1_0.html)
const ( InvalidClientMetadata RegistrationErrorError = "invalid_client_metadata" InvalidRedirectUri RegistrationErrorError = "invalid_redirect_uri" InvalidSoftwareStatement RegistrationErrorError = "invalid_software_statement" UnapprovedSoftwareStatement RegistrationErrorError = "unapproved_software_statement" )
Defines values for RegistrationErrorError.
type RegistrationProperties ¶
type RegistrationProperties struct { // ApplicationType Kind of the application. The only supported application type will be `web` ApplicationType *RegistrationPropertiesApplicationType `json:"application_type,omitempty"` // AuthorizationEncryptedResponseAlg The JWE `alg` algorithm required for encrypting authorization responses. If unspecified, the default is that no encryption is performed.<br><br>Required if “authorization_encrypted_response_enc” is included. AuthorizationEncryptedResponseAlg *RegistrationPropertiesAuthorizationEncryptedResponseAlg `json:"authorization_encrypted_response_alg,omitempty"` // AuthorizationEncryptedResponseEnc The JWE `enc` algorithm required for encrypting authorization responses. If “authorization_encrypted_response_alg” is specified, the default for this value is “A128CBC-HS256”. AuthorizationEncryptedResponseEnc *RegistrationPropertiesAuthorizationEncryptedResponseEnc `json:"authorization_encrypted_response_enc,omitempty"` // AuthorizationSignedResponseAlg The JWS `alg` algorithm required for signing authorization responses. If this is specified, the response will be signed using JWS and the configured algorithm. The algorithm “none” is not allowed.<br><br>Required if response_type of “code” is registered by the client. AuthorizationSignedResponseAlg *RegistrationPropertiesAuthorizationSignedResponseAlg `json:"authorization_signed_response_alg,omitempty"` // ClientDescription Human-readable string name of the software product description to be presented to the end user during authorization ClientDescription string `json:"client_description"` // ClientId Data Holder issued client identifier string ClientId string `json:"client_id"` // ClientIdIssuedAt Time at which the client identifier was issued expressed as seconds since 1970-01-01T00:00:00Z as measured in UTC ClientIdIssuedAt *int `json:"client_id_issued_at,omitempty"` // ClientName Human-readable string name of the software product to be presented to the end-user during authorization ClientName string `json:"client_name"` // ClientUri URL string of a web page providing information about the client ClientUri string `json:"client_uri"` // GrantTypes Array of OAuth 2.0 grant type strings that the client can use at the token endpoint GrantTypes []RegistrationPropertiesGrantTypes `json:"grant_types"` // IdTokenEncryptedResponseAlg JWE `alg` algorithm with which an id_token is to be encrypted.<br/><br/>Required if OIDC Hybrid Flow (response type `code id_token`) is registered. IdTokenEncryptedResponseAlg *string `json:"id_token_encrypted_response_alg,omitempty"` // IdTokenEncryptedResponseEnc JWE `enc` algorithm with which an id_token is to be encrypted.<br/><br/>Required if OIDC Hybrid Flow (response type `code id_token`) is registered. IdTokenEncryptedResponseEnc *string `json:"id_token_encrypted_response_enc,omitempty"` // IdTokenSignedResponseAlg Algorithm with which an id_token is to be signed IdTokenSignedResponseAlg RegistrationPropertiesIdTokenSignedResponseAlg `json:"id_token_signed_response_alg"` // JwksUri URL string referencing the client JSON Web Key (JWK) Set **[[RFC7517]](#nref-RFC7517)** document, which contains the client public keys JwksUri string `json:"jwks_uri"` // LegalEntityId A unique identifier string assigned by the CDR Register that identifies the Accredited Data Recipient Legal Entity LegalEntityId *string `json:"legal_entity_id,omitempty"` // LegalEntityName Human-readable string name of the Accredited Data Recipient Legal Entity LegalEntityName *string `json:"legal_entity_name,omitempty"` // LogoUri URL string that references a logo for the client. If present, the server SHOULD display this image to the end-user during approval LogoUri string `json:"logo_uri"` // OrgId A unique identifier string assigned by the CDR Register that identifies the Accredited Data Recipient Brand OrgId string `json:"org_id"` // OrgName Human-readable string name of the Accredited Data Recipient to be presented to the end user during authorization OrgName string `json:"org_name"` // PolicyUri URL string that points to a human-readable policy document for the Software Product PolicyUri *string `json:"policy_uri,omitempty"` // RecipientBaseUri Base URI for the Consumer Data Standard Data Recipient endpoints. This should be the base to provide reference to all other Data Recipient Endpoints RecipientBaseUri *string `json:"recipient_base_uri,omitempty"` // RedirectUris Array of redirection URI strings for use in redirect-based flows. If used, redirect_uris MUST match or be a subset of the redirect_uris as defined in the SSA RedirectUris []string `json:"redirect_uris"` // RequestObjectSigningAlg Algorithm which the ADR expects to sign the request object if a request object will be part of the authorization request sent to the Data Holder RequestObjectSigningAlg RegistrationPropertiesRequestObjectSigningAlg `json:"request_object_signing_alg"` // ResponseTypes Array of the OAuth 2.0 response type strings that the client can use at the authorization endpoint.<br><br>Response type value `code` is required for Authorization Code Flow. Response type value `code id_token` is required for OIDC Hybrid Flow. ResponseTypes []RegistrationPropertiesResponseTypes `json:"response_types"` // RevocationUri URI string that references the location of the Software Product consent revocation endpoint RevocationUri *string `json:"revocation_uri,omitempty"` // Scope String containing a space-separated list of scope values that the client can use when requesting access tokens. Scope string `json:"scope"` // SectorIdentifierUri URL string referencing the client sector identifier URI, used as an optional input to the Pairwise Identifier SectorIdentifierUri *string `json:"sector_identifier_uri,omitempty"` // SoftwareId String representing a unique identifier assigned by the Register and used by registration endpoints to identify the software product to be dynamically registered. </br></br>The "software_id" will remain the same for the lifetime of the product, across multiple updates and versions SoftwareId string `json:"software_id"` // SoftwareRoles String containing a role of the software in the CDR Regime. Initially the only value used with be `data-recipient-software-product` SoftwareRoles *RegistrationPropertiesSoftwareRoles `json:"software_roles,omitempty"` // SoftwareStatement The Software Statement Assertion, as defined in CDR standards SoftwareStatement string `json:"software_statement"` // TokenEndpointAuthMethod The requested authentication method for the token endpoint TokenEndpointAuthMethod RegistrationPropertiesTokenEndpointAuthMethod `json:"token_endpoint_auth_method"` // TokenEndpointAuthSigningAlg The algorithm used for signing the JWT TokenEndpointAuthSigningAlg RegistrationPropertiesTokenEndpointAuthSigningAlg `json:"token_endpoint_auth_signing_alg"` // TosUri URL string that points to a human-readable terms of service document for the Software Product TosUri *string `json:"tos_uri,omitempty"` }
RegistrationProperties defines model for RegistrationProperties.
type RegistrationPropertiesApplicationType ¶
type RegistrationPropertiesApplicationType string
RegistrationPropertiesApplicationType Kind of the application. The only supported application type will be `web`
const (
Web RegistrationPropertiesApplicationType = "web"
)
Defines values for RegistrationPropertiesApplicationType.
type RegistrationPropertiesAuthorizationEncryptedResponseAlg ¶ added in v0.1.6
type RegistrationPropertiesAuthorizationEncryptedResponseAlg string
RegistrationPropertiesAuthorizationEncryptedResponseAlg The JWE `alg` algorithm required for encrypting authorization responses. If unspecified, the default is that no encryption is performed.<br><br>Required if “authorization_encrypted_response_enc” is included.
const ( RSAOAEP RegistrationPropertiesAuthorizationEncryptedResponseAlg = "RSA-OAEP" RSAOAEP256 RegistrationPropertiesAuthorizationEncryptedResponseAlg = "RSA-OAEP-256" )
Defines values for RegistrationPropertiesAuthorizationEncryptedResponseAlg.
type RegistrationPropertiesAuthorizationEncryptedResponseEnc ¶ added in v0.1.6
type RegistrationPropertiesAuthorizationEncryptedResponseEnc string
RegistrationPropertiesAuthorizationEncryptedResponseEnc The JWE `enc` algorithm required for encrypting authorization responses. If “authorization_encrypted_response_alg” is specified, the default for this value is “A128CBC-HS256”.
const ( A128CBCHS256 RegistrationPropertiesAuthorizationEncryptedResponseEnc = "A128CBC-HS256" A256GCM RegistrationPropertiesAuthorizationEncryptedResponseEnc = "A256GCM" )
Defines values for RegistrationPropertiesAuthorizationEncryptedResponseEnc.
type RegistrationPropertiesAuthorizationSignedResponseAlg ¶ added in v0.1.6
type RegistrationPropertiesAuthorizationSignedResponseAlg string
RegistrationPropertiesAuthorizationSignedResponseAlg The JWS `alg` algorithm required for signing authorization responses. If this is specified, the response will be signed using JWS and the configured algorithm. The algorithm “none” is not allowed.<br><br>Required if response_type of “code” is registered by the client.
const ( RegistrationPropertiesAuthorizationSignedResponseAlgES256 RegistrationPropertiesAuthorizationSignedResponseAlg = "ES256" RegistrationPropertiesAuthorizationSignedResponseAlgPS256 RegistrationPropertiesAuthorizationSignedResponseAlg = "PS256" )
Defines values for RegistrationPropertiesAuthorizationSignedResponseAlg.
type RegistrationPropertiesGrantTypes ¶
type RegistrationPropertiesGrantTypes string
RegistrationPropertiesGrantTypes defines model for RegistrationProperties.GrantTypes.
const ( AuthorizationCode RegistrationPropertiesGrantTypes = "authorization_code" ClientCredentials RegistrationPropertiesGrantTypes = "client_credentials" RefreshToken RegistrationPropertiesGrantTypes = "refresh_token" )
Defines values for RegistrationPropertiesGrantTypes.
type RegistrationPropertiesIdTokenSignedResponseAlg ¶
type RegistrationPropertiesIdTokenSignedResponseAlg string
RegistrationPropertiesIdTokenSignedResponseAlg Algorithm with which an id_token is to be signed
const ( RegistrationPropertiesIdTokenSignedResponseAlgES256 RegistrationPropertiesIdTokenSignedResponseAlg = "ES256" RegistrationPropertiesIdTokenSignedResponseAlgPS256 RegistrationPropertiesIdTokenSignedResponseAlg = "PS256" )
Defines values for RegistrationPropertiesIdTokenSignedResponseAlg.
type RegistrationPropertiesRequestObjectSigningAlg ¶
type RegistrationPropertiesRequestObjectSigningAlg string
RegistrationPropertiesRequestObjectSigningAlg Algorithm which the ADR expects to sign the request object if a request object will be part of the authorization request sent to the Data Holder
const ( RegistrationPropertiesRequestObjectSigningAlgES256 RegistrationPropertiesRequestObjectSigningAlg = "ES256" RegistrationPropertiesRequestObjectSigningAlgPS256 RegistrationPropertiesRequestObjectSigningAlg = "PS256" )
Defines values for RegistrationPropertiesRequestObjectSigningAlg.
type RegistrationPropertiesResponseTypes ¶
type RegistrationPropertiesResponseTypes string
RegistrationPropertiesResponseTypes defines model for RegistrationProperties.ResponseTypes.
const ( Code RegistrationPropertiesResponseTypes = "code" CodeIdToken RegistrationPropertiesResponseTypes = "code id_token" )
Defines values for RegistrationPropertiesResponseTypes.
type RegistrationPropertiesSoftwareRoles ¶ added in v0.1.6
type RegistrationPropertiesSoftwareRoles string
RegistrationPropertiesSoftwareRoles String containing a role of the software in the CDR Regime. Initially the only value used with be `data-recipient-software-product`
const (
DataRecipientSoftwareProduct RegistrationPropertiesSoftwareRoles = "data-recipient-software-product"
)
Defines values for RegistrationPropertiesSoftwareRoles.
type RegistrationPropertiesTokenEndpointAuthMethod ¶
type RegistrationPropertiesTokenEndpointAuthMethod string
RegistrationPropertiesTokenEndpointAuthMethod The requested authentication method for the token endpoint
const (
PrivateKeyJwt RegistrationPropertiesTokenEndpointAuthMethod = "private_key_jwt"
)
Defines values for RegistrationPropertiesTokenEndpointAuthMethod.
type RegistrationPropertiesTokenEndpointAuthSigningAlg ¶
type RegistrationPropertiesTokenEndpointAuthSigningAlg string
RegistrationPropertiesTokenEndpointAuthSigningAlg The algorithm used for signing the JWT
const ( RegistrationPropertiesTokenEndpointAuthSigningAlgES256 RegistrationPropertiesTokenEndpointAuthSigningAlg = "ES256" RegistrationPropertiesTokenEndpointAuthSigningAlgPS256 RegistrationPropertiesTokenEndpointAuthSigningAlg = "PS256" )
Defines values for RegistrationPropertiesTokenEndpointAuthSigningAlg.