Documentation ¶
Index ¶
- type AuthorizeParams
- func (o *AuthorizeParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *AuthorizeParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *AuthorizeParams) RW() (*http.Request, http.ResponseWriter)
- func (o *AuthorizeParams) WR() (http.ResponseWriter, *http.Request)
- type LoginParams
- func (o *LoginParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *LoginParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *LoginParams) RW() (*http.Request, http.ResponseWriter)
- func (o *LoginParams) WR() (http.ResponseWriter, *http.Request)
- type LogoutParams
- func (o *LogoutParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *LogoutParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *LogoutParams) RW() (*http.Request, http.ResponseWriter)
- func (o *LogoutParams) WR() (http.ResponseWriter, *http.Request)
- type PasswordResetParams
- func (o *PasswordResetParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *PasswordResetParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *PasswordResetParams) RW() (*http.Request, http.ResponseWriter)
- func (o *PasswordResetParams) WR() (http.ResponseWriter, *http.Request)
- type PasswordSetParams
- func (o *PasswordSetParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *PasswordSetParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *PasswordSetParams) RW() (*http.Request, http.ResponseWriter)
- func (o *PasswordSetParams) WR() (http.ResponseWriter, *http.Request)
- type PublicKeyGetParams
- func (o *PublicKeyGetParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *PublicKeyGetParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *PublicKeyGetParams) RW() (*http.Request, http.ResponseWriter)
- func (o *PublicKeyGetParams) WR() (http.ResponseWriter, *http.Request)
- type SignupParams
- func (o *SignupParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *SignupParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *SignupParams) RW() (*http.Request, http.ResponseWriter)
- func (o *SignupParams) WR() (http.ResponseWriter, *http.Request)
- type TokenParams
- func (o *TokenParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *TokenParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *TokenParams) RW() (*http.Request, http.ResponseWriter)
- func (o *TokenParams) WR() (http.ResponseWriter, *http.Request)
- type VerifyParams
- func (o *VerifyParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *VerifyParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
- func (o *VerifyParams) RW() (*http.Request, http.ResponseWriter)
- func (o *VerifyParams) WR() (http.ResponseWriter, *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizeParams ¶
type AuthorizeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The URL to which the authentication server redirects the browser for action In: query */ AppURI *string /* Required: true In: query */ Audience string /*The client id Required: true In: query */ ClientID string /*The generated challenge from the code_verifier. Required: true In: query */ CodeChallenge string /*The method used to generate the challenge. The PKCE RFC defines two methods, S256 and plain; however, the authentication serivce supports only S256. In: query Default: "S256" */ CodeChallengeMethod *string /*The URL to which the authentication server redirects the browser after authorization has been granted by the user In: query */ RedirectURI *string /*The authorization code response type Required: true In: query */ ResponseType string /*The requested scopes, if empty will request all the user permissions. In: query Collection Format: ssv */ Scope []string /*Opaque state returned the redirect uri In: query */ State *string /*The user pool to authorize against In: query */ UserPool *string }
AuthorizeParams contains all the bound params for the authorize operation typically these are obtained from a http.Request
swagger:parameters Authorize
func NewAuthorizeParams ¶
func NewAuthorizeParams() AuthorizeParams
NewAuthorizeParams creates a new AuthorizeParams object with the default values initialized.
func (*AuthorizeParams) BindRequest ¶
func (o *AuthorizeParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*AuthorizeParams) BindRequestW ¶
func (o *AuthorizeParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*AuthorizeParams) RW ¶
func (o *AuthorizeParams) RW() (*http.Request, http.ResponseWriter)
func (*AuthorizeParams) WR ¶
func (o *AuthorizeParams) WR() (http.ResponseWriter, *http.Request)
type LoginParams ¶
type LoginParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The PKCE code verifier Required: true In: formData */ CodeVerifier string /*The user login Required: true In: formData */ Login string /*The user password Required: true In: formData */ Password string /*"The authorization request token" Required: true In: formData */ RequestToken string }
LoginParams contains all the bound params for the login operation typically these are obtained from a http.Request
swagger:parameters Login
func NewLoginParams ¶
func NewLoginParams() LoginParams
NewLoginParams creates a new LoginParams object no default values defined in spec.
func (*LoginParams) BindRequest ¶
func (o *LoginParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*LoginParams) BindRequestW ¶
func (o *LoginParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*LoginParams) RW ¶
func (o *LoginParams) RW() (*http.Request, http.ResponseWriter)
func (*LoginParams) WR ¶
func (o *LoginParams) WR() (http.ResponseWriter, *http.Request)
type LogoutParams ¶
type LogoutParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The client id Required: true In: query */ ClientID string /*The uri to redirect to after logout In: query */ RedirectURI *string /*Logout state In: query */ State *string }
LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request
swagger:parameters Logout
func NewLogoutParams ¶
func NewLogoutParams() LogoutParams
NewLogoutParams creates a new LogoutParams object no default values defined in spec.
func (*LogoutParams) BindRequest ¶
func (o *LogoutParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*LogoutParams) BindRequestW ¶
func (o *LogoutParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*LogoutParams) RW ¶
func (o *LogoutParams) RW() (*http.Request, http.ResponseWriter)
func (*LogoutParams) WR ¶
func (o *LogoutParams) WR() (http.ResponseWriter, *http.Request)
type PasswordResetParams ¶
type PasswordResetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The PKCE code verifier Required: true In: formData */ CodeVerifier string /*The user's login Required: true In: formData */ Login string /*The uri to redirect to after password reset request In: formData */ RedirectURI *strfmt.URI /*"The authorization request token" Required: true In: formData */ RequestToken string }
PasswordResetParams contains all the bound params for the password reset operation typically these are obtained from a http.Request
swagger:parameters PasswordReset
func NewPasswordResetParams ¶
func NewPasswordResetParams() PasswordResetParams
NewPasswordResetParams creates a new PasswordResetParams object no default values defined in spec.
func (*PasswordResetParams) BindRequest ¶
func (o *PasswordResetParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*PasswordResetParams) BindRequestW ¶
func (o *PasswordResetParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*PasswordResetParams) RW ¶
func (o *PasswordResetParams) RW() (*http.Request, http.ResponseWriter)
func (*PasswordResetParams) WR ¶
func (o *PasswordResetParams) WR() (http.ResponseWriter, *http.Request)
type PasswordSetParams ¶
type PasswordSetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The PKCE code verifier Required: true In: formData */ CodeVerifier string /*The user's login Required: true In: formData */ Login string /*The new password Required: true In: formData */ Password string /*The uri to redirect to after password reset In: formData */ RedirectURI *strfmt.URI /*The reset verification code Required: true In: formData */ ResetCode string }
PasswordSetParams contains all the bound params for the password set operation typically these are obtained from a http.Request
swagger:parameters PasswordSet
func NewPasswordSetParams ¶
func NewPasswordSetParams() PasswordSetParams
NewPasswordSetParams creates a new PasswordSetParams object no default values defined in spec.
func (*PasswordSetParams) BindRequest ¶
func (o *PasswordSetParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*PasswordSetParams) BindRequestW ¶
func (o *PasswordSetParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*PasswordSetParams) RW ¶
func (o *PasswordSetParams) RW() (*http.Request, http.ResponseWriter)
func (*PasswordSetParams) WR ¶
func (o *PasswordSetParams) WR() (http.ResponseWriter, *http.Request)
type PublicKeyGetParams ¶
type PublicKeyGetParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The audience for the request In: query */ Audience *string }
PublicKeyGetParams contains all the bound params for the public key get operation typically these are obtained from a http.Request
swagger:parameters PublicKeyGet
func NewPublicKeyGetParams ¶
func NewPublicKeyGetParams() PublicKeyGetParams
NewPublicKeyGetParams creates a new PublicKeyGetParams object no default values defined in spec.
func (*PublicKeyGetParams) BindRequest ¶
func (o *PublicKeyGetParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*PublicKeyGetParams) BindRequestW ¶
func (o *PublicKeyGetParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*PublicKeyGetParams) RW ¶
func (o *PublicKeyGetParams) RW() (*http.Request, http.ResponseWriter)
func (*PublicKeyGetParams) WR ¶
func (o *PublicKeyGetParams) WR() (http.ResponseWriter, *http.Request)
type SignupParams ¶
type SignupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The PKCE code verifier Required: true In: formData */ CodeVerifier string /*The user's email address Required: true In: formData */ Email strfmt.Email /*Inivitation codes allow for users to sign up when public sign up is disabled. In: formData */ InviteCode *string /*The user's login Required: true In: formData */ Login string /*The user's full name In: formData */ Name *string /*The user's password Required: true In: formData */ Password string /*"The authorization request token" Required: true In: formData */ RequestToken string }
SignupParams contains all the bound params for the signup operation typically these are obtained from a http.Request
swagger:parameters Signup
func NewSignupParams ¶
func NewSignupParams() SignupParams
NewSignupParams creates a new SignupParams object no default values defined in spec.
func (*SignupParams) BindRequest ¶
func (o *SignupParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*SignupParams) BindRequestW ¶
func (o *SignupParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*SignupParams) RW ¶
func (o *SignupParams) RW() (*http.Request, http.ResponseWriter)
func (*SignupParams) WR ¶
func (o *SignupParams) WR() (http.ResponseWriter, *http.Request)
type TokenParams ¶
type TokenParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The reqest audience for client_credentials flows In: formData */ Audience *string /*The client id Required: true In: formData */ ClientID string /*The client secret In: formData */ ClientSecret *string /*The authorization code In: formData */ Code *string /*The PKCE code verifier In: formData */ CodeVerifier *string /*The authorization grant type Required: true In: formData */ GrantType string /*The password for password grants In: formData */ Password *string /*The new refresh token nonce is the S256 of a client generated value as defined in the PKCE standard, similar to that used in the authorization flow. When requesting `offline_access` the client will generate a nonce value and pass the base64 raw url encoded value of the S256 of this nonce. Each subsequent `offline_access` request in the `refresh_token` flow requires a new verifier. In: formData */ RefreshNonce *string /*The refresh token In: formData */ RefreshToken *string /*Verifier nonce used to validate a refresh token request. This is the base64 raw url encoded value of the original nonce generated by the client. In: formData */ RefreshVerifier *string /*The scopes In: formData Collection Format: ssv */ Scope []string /*The username for password grants In: formData */ Username *string }
TokenParams contains all the bound params for the token operation typically these are obtained from a http.Request
swagger:parameters Token
func NewTokenParams ¶
func NewTokenParams() TokenParams
NewTokenParams creates a new TokenParams object no default values defined in spec.
func (*TokenParams) BindRequest ¶
func (o *TokenParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*TokenParams) BindRequestW ¶
func (o *TokenParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*TokenParams) RW ¶
func (o *TokenParams) RW() (*http.Request, http.ResponseWriter)
func (*TokenParams) WR ¶
func (o *TokenParams) WR() (http.ResponseWriter, *http.Request)
type VerifyParams ¶
type VerifyParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` HTTPResponse http.ResponseWriter `json:"-"` /*The verification code Required: true In: query */ Code string /*The redirect uri Required: true In: query */ RedirectURI string /*The user's subject identifier Required: true In: query */ Sub string }
VerifyParams contains all the bound params for the verify operation typically these are obtained from a http.Request
swagger:parameters Verify
func NewVerifyParams ¶
func NewVerifyParams() VerifyParams
NewVerifyParams creates a new VerifyParams object no default values defined in spec.
func (*VerifyParams) BindRequest ¶
func (o *VerifyParams) BindRequest(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*VerifyParams) BindRequestW ¶
func (o *VerifyParams) BindRequestW(w http.ResponseWriter, r *http.Request, c ...runtime.Consumer) error
BindRequestW both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
func (*VerifyParams) RW ¶
func (o *VerifyParams) RW() (*http.Request, http.ResponseWriter)
func (*VerifyParams) WR ¶
func (o *VerifyParams) WR() (http.ResponseWriter, *http.Request)
Source Files ¶
- authorize.go
- authorize_parameters.go
- login.go
- login_parameters.go
- logout.go
- logout_parameters.go
- password_reset.go
- password_reset_parameters.go
- password_set.go
- password_set_parameters.go
- public_key_get.go
- public_key_get_parameters.go
- signup.go
- signup_parameters.go
- token.go
- token_parameters.go
- verify.go
- verify_parameters.go