openapi

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package openapi contains code generated from contract/openapi.yaml.

Package openapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCodeAllowed

func ErrorCodeAllowed(extensions map[string]any, status int, code response.ErrorCode) bool

func GetSpec

func GetSpec() (swagger *openapi3.T, err error)

GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.

func GetSwagger deprecated

func GetSwagger() (*openapi3.T, error)

GetSwagger returns the OpenAPI specification corresponding to the generated code in this file.

Deprecated: GetSwagger predates kin-openapi renaming openapi3.Swagger to openapi3.T. Use GetSpec instead. This wrapper is retained for backwards compatibility.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func HeaderWriter

func HeaderWriter(header http.Header) http.ResponseWriter

func MustOperationErrors

func MustOperationErrors(operationID string) map[response.ErrorCode]response.ErrorSpec

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func Request

func Request(ctx context.Context) (*http.Request, bool)

func ValidationMiddleware

func ValidationMiddleware(logger *slog.Logger) func(http.Handler) http.Handler

ValidationMiddleware validates every public and internal API request and response against the document embedded in generated.go.

func WithRequest

func WithRequest(ctx context.Context, r *http.Request) context.Context

Types

type APIError

type APIError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

APIError defines model for APIError.

type AcceptInvitation200HeadersResponse added in v0.16.0

type AcceptInvitation200HeadersResponse struct {
	Header http.Header
	Body   Tokens
}

func (AcceptInvitation200HeadersResponse) VisitAcceptInvitationResponse added in v0.16.0

func (r AcceptInvitation200HeadersResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation200JSONResponse added in v0.16.0

type AcceptInvitation200JSONResponse Tokens

func (AcceptInvitation200JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation200JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation400JSONResponse added in v0.16.0

type AcceptInvitation400JSONResponse struct{ ErrorJSONResponse }

func (AcceptInvitation400JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation400JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation401JSONResponse added in v0.16.0

type AcceptInvitation401JSONResponse ErrorResponse

func (AcceptInvitation401JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation401JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation403JSONResponse added in v0.16.0

type AcceptInvitation403JSONResponse ErrorResponse

func (AcceptInvitation403JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation403JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation404JSONResponse added in v0.16.0

type AcceptInvitation404JSONResponse ErrorResponse

func (AcceptInvitation404JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation404JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation409JSONResponse added in v0.16.0

type AcceptInvitation409JSONResponse ErrorResponse

func (AcceptInvitation409JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation409JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitation500JSONResponse added in v0.16.0

type AcceptInvitation500JSONResponse ErrorResponse

func (AcceptInvitation500JSONResponse) VisitAcceptInvitationResponse added in v0.16.0

func (response AcceptInvitation500JSONResponse) VisitAcceptInvitationResponse(w http.ResponseWriter) error

type AcceptInvitationJSONRequestBody added in v0.16.0

type AcceptInvitationJSONRequestBody = InvitationTokenRequest

AcceptInvitationJSONRequestBody defines body for AcceptInvitation for application/json ContentType.

type AcceptInvitationParams added in v0.16.0

type AcceptInvitationParams struct {
	Audience *AcceptInvitationParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

AcceptInvitationParams defines parameters for AcceptInvitation.

type AcceptInvitationParamsAudience added in v0.16.0

type AcceptInvitationParamsAudience string

AcceptInvitationParamsAudience defines parameters for AcceptInvitation.

const (
	AcceptInvitationParamsAudienceApp AcceptInvitationParamsAudience = "app"
)

Defines values for AcceptInvitationParamsAudience.

func (AcceptInvitationParamsAudience) Valid added in v0.16.0

Valid indicates whether the value is a known member of the AcceptInvitationParamsAudience enum.

type AcceptInvitationRequestObject added in v0.16.0

type AcceptInvitationRequestObject struct {
	Params AcceptInvitationParams
	Body   *AcceptInvitationJSONRequestBody
}

type AcceptInvitationResponseObject added in v0.16.0

type AcceptInvitationResponseObject interface {
	VisitAcceptInvitationResponse(w http.ResponseWriter) error
}

type Account added in v0.16.0

type Account struct {
	AuthMethods []AuthMethod     `json:"auth_methods"`
	Passkeys    []AccountPasskey `json:"passkeys"`
	Sessions    []AccountSession `json:"sessions"`
	User        AuthUser         `json:"user"`
}

Account defines model for Account.

type AccountPasskey added in v0.16.0

type AccountPasskey struct {
	CreatedAt  time.Time          `json:"created_at"`
	Id         openapi_types.UUID `json:"id"`
	LastUsedAt *time.Time         `json:"last_used_at,omitempty"`
	Name       string             `json:"name"`
}

AccountPasskey defines model for AccountPasskey.

type AccountRecoveryGoogleProofRequest added in v0.16.0

type AccountRecoveryGoogleProofRequest struct {
	Credential      string  `json:"credential"`
	InvitationToken *string `json:"invitation_token,omitempty"`
	Nonce           string  `json:"nonce"`
}

AccountRecoveryGoogleProofRequest defines model for AccountRecoveryGoogleProofRequest.

type AccountRecoveryLink struct {
	LinkId       openapi_types.UUID                `json:"link_id"`
	ProofMethods []AccountRecoveryLinkProofMethods `json:"proof_methods"`
}

AccountRecoveryLink defines model for AccountRecoveryLink.

type AccountRecoveryLinkProofMethods added in v0.16.0

type AccountRecoveryLinkProofMethods string

AccountRecoveryLinkProofMethods defines model for AccountRecoveryLink.ProofMethods.

const (
	AccountRecoveryLinkProofMethodsGoogle   AccountRecoveryLinkProofMethods = "google"
	AccountRecoveryLinkProofMethodsPassword AccountRecoveryLinkProofMethods = "password"
)

Defines values for AccountRecoveryLinkProofMethods.

func (AccountRecoveryLinkProofMethods) Valid added in v0.16.0

Valid indicates whether the value is a known member of the AccountRecoveryLinkProofMethods enum.

type AccountRecoveryPasswordProofRequest added in v0.16.0

type AccountRecoveryPasswordProofRequest struct {
	InvitationToken *string `json:"invitation_token,omitempty"`
	Password        string  `json:"password"`
}

AccountRecoveryPasswordProofRequest defines model for AccountRecoveryPasswordProofRequest.

type AccountSession added in v0.16.0

type AccountSession struct {
	CreatedAt time.Time          `json:"created_at"`
	Current   bool               `json:"current"`
	ExpiresAt time.Time          `json:"expires_at"`
	Id        openapi_types.UUID `json:"id"`
	UserAgent string             `json:"user_agent"`
}

AccountSession defines model for AccountSession.

type AddCurrentUserPassword204Response added in v0.16.0

type AddCurrentUserPassword204Response struct {
}

func (AddCurrentUserPassword204Response) VisitAddCurrentUserPasswordResponse added in v0.16.0

func (response AddCurrentUserPassword204Response) VisitAddCurrentUserPasswordResponse(w http.ResponseWriter) error

type AddCurrentUserPassword400JSONResponse added in v0.16.0

type AddCurrentUserPassword400JSONResponse struct{ ErrorJSONResponse }

func (AddCurrentUserPassword400JSONResponse) VisitAddCurrentUserPasswordResponse added in v0.16.0

func (response AddCurrentUserPassword400JSONResponse) VisitAddCurrentUserPasswordResponse(w http.ResponseWriter) error

type AddCurrentUserPassword401JSONResponse added in v0.16.0

type AddCurrentUserPassword401JSONResponse ErrorResponse

func (AddCurrentUserPassword401JSONResponse) VisitAddCurrentUserPasswordResponse added in v0.16.0

func (response AddCurrentUserPassword401JSONResponse) VisitAddCurrentUserPasswordResponse(w http.ResponseWriter) error

type AddCurrentUserPassword409JSONResponse added in v0.16.0

type AddCurrentUserPassword409JSONResponse ErrorResponse

func (AddCurrentUserPassword409JSONResponse) VisitAddCurrentUserPasswordResponse added in v0.16.0

func (response AddCurrentUserPassword409JSONResponse) VisitAddCurrentUserPasswordResponse(w http.ResponseWriter) error

type AddCurrentUserPassword500JSONResponse added in v0.16.0

type AddCurrentUserPassword500JSONResponse ErrorResponse

func (AddCurrentUserPassword500JSONResponse) VisitAddCurrentUserPasswordResponse added in v0.16.0

func (response AddCurrentUserPassword500JSONResponse) VisitAddCurrentUserPasswordResponse(w http.ResponseWriter) error

type AddCurrentUserPasswordJSONRequestBody added in v0.16.0

type AddCurrentUserPasswordJSONRequestBody = SetPasswordRequest

AddCurrentUserPasswordJSONRequestBody defines body for AddCurrentUserPassword for application/json ContentType.

type AddCurrentUserPasswordRequestObject added in v0.16.0

type AddCurrentUserPasswordRequestObject struct {
	Body *AddCurrentUserPasswordJSONRequestBody
}

type AddCurrentUserPasswordResponseObject added in v0.16.0

type AddCurrentUserPasswordResponseObject interface {
	VisitAddCurrentUserPasswordResponse(w http.ResponseWriter) error
}

type AppAudience

type AppAudience string

AppAudience defines model for AppAudience.

const (
	AppAudienceApp AppAudience = "app"
)

Defines values for AppAudience.

func (AppAudience) Valid

func (e AppAudience) Valid() bool

Valid indicates whether the value is a known member of the AppAudience enum.

type Audience

type Audience string

Audience defines model for Audience.

const (
	AudienceAdmin Audience = "admin"
	AudienceApp   Audience = "app"
)

Defines values for Audience.

func (Audience) Valid

func (e Audience) Valid() bool

Valid indicates whether the value is a known member of the Audience enum.

type AuthMethod added in v0.16.0

type AuthMethod struct {
	CreatedAt time.Time          `json:"created_at"`
	Provider  AuthMethodProvider `json:"provider"`
}

AuthMethod defines model for AuthMethod.

type AuthMethodProvider added in v0.16.0

type AuthMethodProvider string

AuthMethodProvider defines model for AuthMethod.Provider.

const (
	AuthMethodProviderGoogle   AuthMethodProvider = "google"
	AuthMethodProviderPassword AuthMethodProvider = "password"
)

Defines values for AuthMethodProvider.

func (AuthMethodProvider) Valid added in v0.16.0

func (e AuthMethodProvider) Valid() bool

Valid indicates whether the value is a known member of the AuthMethodProvider enum.

type AuthProvider added in v0.16.0

type AuthProvider string

AuthProvider defines model for AuthProvider.

const (
	AuthProviderGoogle   AuthProvider = "google"
	AuthProviderPassword AuthProvider = "password"
)

Defines values for AuthProvider.

func (AuthProvider) Valid added in v0.16.0

func (e AuthProvider) Valid() bool

Valid indicates whether the value is a known member of the AuthProvider enum.

type AuthSession

type AuthSession struct {
	AccessToken  string   `json:"access_token"`
	RefreshToken string   `json:"refresh_token"`
	User         AuthUser `json:"user"`
}

AuthSession defines model for AuthSession.

type AuthUser

type AuthUser struct {
	CreatedAt time.Time           `json:"created_at"`
	Disabled  bool                `json:"disabled"`
	Email     openapi_types.Email `json:"email"`
	Id        openapi_types.UUID  `json:"id"`
	Username  string              `json:"username"`
}

AuthUser defines model for AuthUser.

type AuthenticateAndAcceptInvitationWithGoogle200HeadersResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle200HeadersResponse struct {
	Header http.Header
	Body   InvitationGoogleResult
}

func (AuthenticateAndAcceptInvitationWithGoogle200HeadersResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (r AuthenticateAndAcceptInvitationWithGoogle200HeadersResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle200JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle200JSONResponse InvitationGoogleResult

func (AuthenticateAndAcceptInvitationWithGoogle200JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle200JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle400JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle400JSONResponse struct{ ErrorJSONResponse }

func (AuthenticateAndAcceptInvitationWithGoogle400JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle400JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle401JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle401JSONResponse ErrorResponse

func (AuthenticateAndAcceptInvitationWithGoogle401JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle401JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle403JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle403JSONResponse ErrorResponse

func (AuthenticateAndAcceptInvitationWithGoogle403JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle403JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle404JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle404JSONResponse ErrorResponse

func (AuthenticateAndAcceptInvitationWithGoogle404JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle404JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle409JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle409JSONResponse ErrorResponse

func (AuthenticateAndAcceptInvitationWithGoogle409JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle409JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogle500JSONResponse added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogle500JSONResponse ErrorResponse

func (AuthenticateAndAcceptInvitationWithGoogle500JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse added in v0.16.0

func (response AuthenticateAndAcceptInvitationWithGoogle500JSONResponse) VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error

type AuthenticateAndAcceptInvitationWithGoogleJSONRequestBody added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogleJSONRequestBody = InvitationGoogleRequest

AuthenticateAndAcceptInvitationWithGoogleJSONRequestBody defines body for AuthenticateAndAcceptInvitationWithGoogle for application/json ContentType.

type AuthenticateAndAcceptInvitationWithGoogleParams added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogleParams struct {
	Audience *AuthenticateAndAcceptInvitationWithGoogleParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

AuthenticateAndAcceptInvitationWithGoogleParams defines parameters for AuthenticateAndAcceptInvitationWithGoogle.

type AuthenticateAndAcceptInvitationWithGoogleParamsAudience added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogleParamsAudience string

AuthenticateAndAcceptInvitationWithGoogleParamsAudience defines parameters for AuthenticateAndAcceptInvitationWithGoogle.

const (
	AuthenticateAndAcceptInvitationWithGoogleParamsAudienceApp AuthenticateAndAcceptInvitationWithGoogleParamsAudience = "app"
)

Defines values for AuthenticateAndAcceptInvitationWithGoogleParamsAudience.

func (AuthenticateAndAcceptInvitationWithGoogleParamsAudience) Valid added in v0.16.0

Valid indicates whether the value is a known member of the AuthenticateAndAcceptInvitationWithGoogleParamsAudience enum.

type AuthenticateAndAcceptInvitationWithGoogleRequestObject added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogleRequestObject struct {
	Params AuthenticateAndAcceptInvitationWithGoogleParams
	Body   *AuthenticateAndAcceptInvitationWithGoogleJSONRequestBody
}

type AuthenticateAndAcceptInvitationWithGoogleResponseObject added in v0.16.0

type AuthenticateAndAcceptInvitationWithGoogleResponseObject interface {
	VisitAuthenticateAndAcceptInvitationWithGoogleResponse(w http.ResponseWriter) error
}

type BeginPasskeyAuthentication200JSONResponse

type BeginPasskeyAuthentication200JSONResponse PasskeyOptions

func (BeginPasskeyAuthentication200JSONResponse) VisitBeginPasskeyAuthenticationResponse

func (response BeginPasskeyAuthentication200JSONResponse) VisitBeginPasskeyAuthenticationResponse(w http.ResponseWriter) error

type BeginPasskeyAuthentication403JSONResponse

type BeginPasskeyAuthentication403JSONResponse struct{ ErrorJSONResponse }

func (BeginPasskeyAuthentication403JSONResponse) VisitBeginPasskeyAuthenticationResponse

func (response BeginPasskeyAuthentication403JSONResponse) VisitBeginPasskeyAuthenticationResponse(w http.ResponseWriter) error

type BeginPasskeyAuthentication429JSONResponse

type BeginPasskeyAuthentication429JSONResponse ErrorResponse

func (BeginPasskeyAuthentication429JSONResponse) VisitBeginPasskeyAuthenticationResponse

func (response BeginPasskeyAuthentication429JSONResponse) VisitBeginPasskeyAuthenticationResponse(w http.ResponseWriter) error

type BeginPasskeyAuthentication500JSONResponse

type BeginPasskeyAuthentication500JSONResponse ErrorResponse

func (BeginPasskeyAuthentication500JSONResponse) VisitBeginPasskeyAuthenticationResponse

func (response BeginPasskeyAuthentication500JSONResponse) VisitBeginPasskeyAuthenticationResponse(w http.ResponseWriter) error

type BeginPasskeyAuthenticationRequestObject

type BeginPasskeyAuthenticationRequestObject struct {
}

type BeginPasskeyAuthenticationResponseObject

type BeginPasskeyAuthenticationResponseObject interface {
	VisitBeginPasskeyAuthenticationResponse(w http.ResponseWriter) error
}

type BeginPasskeyRegistration200JSONResponse

type BeginPasskeyRegistration200JSONResponse PasskeyOptions

func (BeginPasskeyRegistration200JSONResponse) VisitBeginPasskeyRegistrationResponse

func (response BeginPasskeyRegistration200JSONResponse) VisitBeginPasskeyRegistrationResponse(w http.ResponseWriter) error

type BeginPasskeyRegistration401JSONResponse

type BeginPasskeyRegistration401JSONResponse struct{ ErrorJSONResponse }

func (BeginPasskeyRegistration401JSONResponse) VisitBeginPasskeyRegistrationResponse

func (response BeginPasskeyRegistration401JSONResponse) VisitBeginPasskeyRegistrationResponse(w http.ResponseWriter) error

type BeginPasskeyRegistration403JSONResponse

type BeginPasskeyRegistration403JSONResponse ErrorResponse

func (BeginPasskeyRegistration403JSONResponse) VisitBeginPasskeyRegistrationResponse

func (response BeginPasskeyRegistration403JSONResponse) VisitBeginPasskeyRegistrationResponse(w http.ResponseWriter) error

type BeginPasskeyRegistration500JSONResponse

type BeginPasskeyRegistration500JSONResponse ErrorResponse

func (BeginPasskeyRegistration500JSONResponse) VisitBeginPasskeyRegistrationResponse

func (response BeginPasskeyRegistration500JSONResponse) VisitBeginPasskeyRegistrationResponse(w http.ResponseWriter) error

type BeginPasskeyRegistrationRequestObject

type BeginPasskeyRegistrationRequestObject struct {
}

type BeginPasskeyRegistrationResponseObject

type BeginPasskeyRegistrationResponseObject interface {
	VisitBeginPasskeyRegistrationResponse(w http.ResponseWriter) error
}

type CSRFToken

type CSRFToken struct {
	CsrfToken string `json:"csrf_token"`
}

CSRFToken defines model for CSRFToken.

type Capabilities

type Capabilities struct {
	AllowsInvitations                  bool                         `json:"allows_invitations"`
	AllowsOrgSwitching                 bool                         `json:"allows_org_switching"`
	AllowsOrganizationLeave            bool                         `json:"allows_organization_leave"`
	AllowsPublicOrganizationManagement bool                         `json:"allows_public_organization_management"`
	AllowsUserCreatedTeamOrgs          bool                         `json:"allows_user_created_team_orgs"`
	HasVisibleOrganizations            bool                         `json:"has_visible_organizations"`
	OrganizationMode                   CapabilitiesOrganizationMode `json:"organization_mode"`
}

Capabilities defines model for Capabilities.

type CapabilitiesOrganizationMode

type CapabilitiesOrganizationMode string

CapabilitiesOrganizationMode defines model for Capabilities.OrganizationMode.

const (
	CapabilitiesOrganizationModeMulti    CapabilitiesOrganizationMode = "multi"
	CapabilitiesOrganizationModePersonal CapabilitiesOrganizationMode = "personal"
	CapabilitiesOrganizationModeSingle   CapabilitiesOrganizationMode = "single"
)

Defines values for CapabilitiesOrganizationMode.

func (CapabilitiesOrganizationMode) Valid

Valid indicates whether the value is a known member of the CapabilitiesOrganizationMode enum.

type ChallengeReference

type ChallengeReference struct {
	ChallengeId openapi_types.UUID `json:"challenge_id"`
}

ChallengeReference defines model for ChallengeReference.

type ChallengeVerification added in v0.16.0

type ChallengeVerification struct {
	ChallengeId openapi_types.UUID `json:"challenge_id"`
	Code        string             `json:"code"`
}

ChallengeVerification defines model for ChallengeVerification.

type ChangeCurrentUserPassword204Response added in v0.16.0

type ChangeCurrentUserPassword204Response struct {
}

func (ChangeCurrentUserPassword204Response) VisitChangeCurrentUserPasswordResponse added in v0.16.0

func (response ChangeCurrentUserPassword204Response) VisitChangeCurrentUserPasswordResponse(w http.ResponseWriter) error

type ChangeCurrentUserPassword400JSONResponse added in v0.16.0

type ChangeCurrentUserPassword400JSONResponse struct{ ErrorJSONResponse }

func (ChangeCurrentUserPassword400JSONResponse) VisitChangeCurrentUserPasswordResponse added in v0.16.0

func (response ChangeCurrentUserPassword400JSONResponse) VisitChangeCurrentUserPasswordResponse(w http.ResponseWriter) error

type ChangeCurrentUserPassword401JSONResponse added in v0.16.0

type ChangeCurrentUserPassword401JSONResponse ErrorResponse

func (ChangeCurrentUserPassword401JSONResponse) VisitChangeCurrentUserPasswordResponse added in v0.16.0

func (response ChangeCurrentUserPassword401JSONResponse) VisitChangeCurrentUserPasswordResponse(w http.ResponseWriter) error

type ChangeCurrentUserPassword404JSONResponse added in v0.16.0

type ChangeCurrentUserPassword404JSONResponse ErrorResponse

func (ChangeCurrentUserPassword404JSONResponse) VisitChangeCurrentUserPasswordResponse added in v0.16.0

func (response ChangeCurrentUserPassword404JSONResponse) VisitChangeCurrentUserPasswordResponse(w http.ResponseWriter) error

type ChangeCurrentUserPassword500JSONResponse added in v0.16.0

type ChangeCurrentUserPassword500JSONResponse ErrorResponse

func (ChangeCurrentUserPassword500JSONResponse) VisitChangeCurrentUserPasswordResponse added in v0.16.0

func (response ChangeCurrentUserPassword500JSONResponse) VisitChangeCurrentUserPasswordResponse(w http.ResponseWriter) error

type ChangeCurrentUserPasswordJSONRequestBody added in v0.16.0

type ChangeCurrentUserPasswordJSONRequestBody = ChangePasswordRequest

ChangeCurrentUserPasswordJSONRequestBody defines body for ChangeCurrentUserPassword for application/json ContentType.

type ChangeCurrentUserPasswordRequestObject added in v0.16.0

type ChangeCurrentUserPasswordRequestObject struct {
	Body *ChangeCurrentUserPasswordJSONRequestBody
}

type ChangeCurrentUserPasswordResponseObject added in v0.16.0

type ChangeCurrentUserPasswordResponseObject interface {
	VisitChangeCurrentUserPasswordResponse(w http.ResponseWriter) error
}

type ChangeCurrentUsername204Response added in v0.16.0

type ChangeCurrentUsername204Response struct {
}

func (ChangeCurrentUsername204Response) VisitChangeCurrentUsernameResponse added in v0.16.0

func (response ChangeCurrentUsername204Response) VisitChangeCurrentUsernameResponse(w http.ResponseWriter) error

type ChangeCurrentUsername400JSONResponse added in v0.16.0

type ChangeCurrentUsername400JSONResponse struct{ ErrorJSONResponse }

func (ChangeCurrentUsername400JSONResponse) VisitChangeCurrentUsernameResponse added in v0.16.0

func (response ChangeCurrentUsername400JSONResponse) VisitChangeCurrentUsernameResponse(w http.ResponseWriter) error

type ChangeCurrentUsername401JSONResponse added in v0.16.0

type ChangeCurrentUsername401JSONResponse ErrorResponse

func (ChangeCurrentUsername401JSONResponse) VisitChangeCurrentUsernameResponse added in v0.16.0

func (response ChangeCurrentUsername401JSONResponse) VisitChangeCurrentUsernameResponse(w http.ResponseWriter) error

type ChangeCurrentUsername409JSONResponse added in v0.16.0

type ChangeCurrentUsername409JSONResponse ErrorResponse

func (ChangeCurrentUsername409JSONResponse) VisitChangeCurrentUsernameResponse added in v0.16.0

func (response ChangeCurrentUsername409JSONResponse) VisitChangeCurrentUsernameResponse(w http.ResponseWriter) error

type ChangeCurrentUsername500JSONResponse added in v0.16.0

type ChangeCurrentUsername500JSONResponse ErrorResponse

func (ChangeCurrentUsername500JSONResponse) VisitChangeCurrentUsernameResponse added in v0.16.0

func (response ChangeCurrentUsername500JSONResponse) VisitChangeCurrentUsernameResponse(w http.ResponseWriter) error

type ChangeCurrentUsernameJSONRequestBody added in v0.16.0

type ChangeCurrentUsernameJSONRequestBody = ChangeUsernameRequest

ChangeCurrentUsernameJSONRequestBody defines body for ChangeCurrentUsername for application/json ContentType.

type ChangeCurrentUsernameRequestObject added in v0.16.0

type ChangeCurrentUsernameRequestObject struct {
	Body *ChangeCurrentUsernameJSONRequestBody
}

type ChangeCurrentUsernameResponseObject added in v0.16.0

type ChangeCurrentUsernameResponseObject interface {
	VisitChangeCurrentUsernameResponse(w http.ResponseWriter) error
}

type ChangePasswordRequest added in v0.16.0

type ChangePasswordRequest struct {
	CurrentPassword string `json:"current_password"`
	NewPassword     string `json:"new_password"`
}

ChangePasswordRequest defines model for ChangePasswordRequest.

type ChangeUsernameRequest added in v0.16.0

type ChangeUsernameRequest struct {
	Username string `json:"username"`
}

ChangeUsernameRequest defines model for ChangeUsernameRequest.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type CompleteAccountRecoveryLinkWithGoogle200HeadersResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (CompleteAccountRecoveryLinkWithGoogle200HeadersResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (r CompleteAccountRecoveryLinkWithGoogle200HeadersResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle200JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle200JSONResponse AuthSession

func (CompleteAccountRecoveryLinkWithGoogle200JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle200JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle400JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle400JSONResponse struct{ ErrorJSONResponse }

func (CompleteAccountRecoveryLinkWithGoogle400JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle400JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle401JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle401JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithGoogle401JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle401JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle403JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle403JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithGoogle403JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle403JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle404JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle404JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithGoogle404JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle404JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle409JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle409JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithGoogle409JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle409JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogle500JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogle500JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithGoogle500JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithGoogle500JSONResponse) VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithGoogleJSONRequestBody added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogleJSONRequestBody = AccountRecoveryGoogleProofRequest

CompleteAccountRecoveryLinkWithGoogleJSONRequestBody defines body for CompleteAccountRecoveryLinkWithGoogle for application/json ContentType.

type CompleteAccountRecoveryLinkWithGoogleParams added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogleParams struct {
	Audience *CompleteAccountRecoveryLinkWithGoogleParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

CompleteAccountRecoveryLinkWithGoogleParams defines parameters for CompleteAccountRecoveryLinkWithGoogle.

type CompleteAccountRecoveryLinkWithGoogleParamsAudience added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogleParamsAudience string

CompleteAccountRecoveryLinkWithGoogleParamsAudience defines parameters for CompleteAccountRecoveryLinkWithGoogle.

const (
	CompleteAccountRecoveryLinkWithGoogleParamsAudienceApp CompleteAccountRecoveryLinkWithGoogleParamsAudience = "app"
)

Defines values for CompleteAccountRecoveryLinkWithGoogleParamsAudience.

func (CompleteAccountRecoveryLinkWithGoogleParamsAudience) Valid added in v0.16.0

Valid indicates whether the value is a known member of the CompleteAccountRecoveryLinkWithGoogleParamsAudience enum.

type CompleteAccountRecoveryLinkWithGoogleRequestObject added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogleRequestObject struct {
	LinkID ProviderLinkID `json:"linkID"`
	Params CompleteAccountRecoveryLinkWithGoogleParams
	Body   *CompleteAccountRecoveryLinkWithGoogleJSONRequestBody
}

type CompleteAccountRecoveryLinkWithGoogleResponseObject added in v0.16.0

type CompleteAccountRecoveryLinkWithGoogleResponseObject interface {
	VisitCompleteAccountRecoveryLinkWithGoogleResponse(w http.ResponseWriter) error
}

type CompleteAccountRecoveryLinkWithPassword200HeadersResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (CompleteAccountRecoveryLinkWithPassword200HeadersResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (r CompleteAccountRecoveryLinkWithPassword200HeadersResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword200JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword200JSONResponse AuthSession

func (CompleteAccountRecoveryLinkWithPassword200JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword200JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword400JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword400JSONResponse struct{ ErrorJSONResponse }

func (CompleteAccountRecoveryLinkWithPassword400JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword400JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword401JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword401JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithPassword401JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword401JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword403JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword403JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithPassword403JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword403JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword404JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword404JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithPassword404JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword404JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword409JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword409JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithPassword409JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword409JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword429JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword429JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithPassword429JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword429JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPassword500JSONResponse added in v0.16.0

type CompleteAccountRecoveryLinkWithPassword500JSONResponse ErrorResponse

func (CompleteAccountRecoveryLinkWithPassword500JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse added in v0.16.0

func (response CompleteAccountRecoveryLinkWithPassword500JSONResponse) VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error

type CompleteAccountRecoveryLinkWithPasswordJSONRequestBody added in v0.16.0

type CompleteAccountRecoveryLinkWithPasswordJSONRequestBody = AccountRecoveryPasswordProofRequest

CompleteAccountRecoveryLinkWithPasswordJSONRequestBody defines body for CompleteAccountRecoveryLinkWithPassword for application/json ContentType.

type CompleteAccountRecoveryLinkWithPasswordParams added in v0.16.0

type CompleteAccountRecoveryLinkWithPasswordParams struct {
	Audience *CompleteAccountRecoveryLinkWithPasswordParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

CompleteAccountRecoveryLinkWithPasswordParams defines parameters for CompleteAccountRecoveryLinkWithPassword.

type CompleteAccountRecoveryLinkWithPasswordParamsAudience added in v0.16.0

type CompleteAccountRecoveryLinkWithPasswordParamsAudience string

CompleteAccountRecoveryLinkWithPasswordParamsAudience defines parameters for CompleteAccountRecoveryLinkWithPassword.

const (
	CompleteAccountRecoveryLinkWithPasswordParamsAudienceApp CompleteAccountRecoveryLinkWithPasswordParamsAudience = "app"
)

Defines values for CompleteAccountRecoveryLinkWithPasswordParamsAudience.

func (CompleteAccountRecoveryLinkWithPasswordParamsAudience) Valid added in v0.16.0

Valid indicates whether the value is a known member of the CompleteAccountRecoveryLinkWithPasswordParamsAudience enum.

type CompleteAccountRecoveryLinkWithPasswordRequestObject added in v0.16.0

type CompleteAccountRecoveryLinkWithPasswordRequestObject struct {
	LinkID ProviderLinkID `json:"linkID"`
	Params CompleteAccountRecoveryLinkWithPasswordParams
	Body   *CompleteAccountRecoveryLinkWithPasswordJSONRequestBody
}

type CompleteAccountRecoveryLinkWithPasswordResponseObject added in v0.16.0

type CompleteAccountRecoveryLinkWithPasswordResponseObject interface {
	VisitCompleteAccountRecoveryLinkWithPasswordResponse(w http.ResponseWriter) error
}

type CreateInternalOrganization201JSONResponse

type CreateInternalOrganization201JSONResponse OrganizationWithMembership

func (CreateInternalOrganization201JSONResponse) VisitCreateInternalOrganizationResponse

func (response CreateInternalOrganization201JSONResponse) VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error

type CreateInternalOrganization400JSONResponse

type CreateInternalOrganization400JSONResponse struct{ ErrorJSONResponse }

func (CreateInternalOrganization400JSONResponse) VisitCreateInternalOrganizationResponse

func (response CreateInternalOrganization400JSONResponse) VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error

type CreateInternalOrganization401JSONResponse

type CreateInternalOrganization401JSONResponse ErrorResponse

func (CreateInternalOrganization401JSONResponse) VisitCreateInternalOrganizationResponse

func (response CreateInternalOrganization401JSONResponse) VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error

type CreateInternalOrganization403JSONResponse

type CreateInternalOrganization403JSONResponse ErrorResponse

func (CreateInternalOrganization403JSONResponse) VisitCreateInternalOrganizationResponse

func (response CreateInternalOrganization403JSONResponse) VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error

type CreateInternalOrganization404JSONResponse

type CreateInternalOrganization404JSONResponse ErrorResponse

func (CreateInternalOrganization404JSONResponse) VisitCreateInternalOrganizationResponse

func (response CreateInternalOrganization404JSONResponse) VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error

type CreateInternalOrganization500JSONResponse

type CreateInternalOrganization500JSONResponse ErrorResponse

func (CreateInternalOrganization500JSONResponse) VisitCreateInternalOrganizationResponse

func (response CreateInternalOrganization500JSONResponse) VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation201JSONResponse

type CreateInternalOrganizationInvitation201JSONResponse OrganizationInvitationEnvelope

func (CreateInternalOrganizationInvitation201JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation201JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation400JSONResponse

type CreateInternalOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (CreateInternalOrganizationInvitation400JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation400JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation401JSONResponse

type CreateInternalOrganizationInvitation401JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation401JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation401JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation403JSONResponse

type CreateInternalOrganizationInvitation403JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation403JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation403JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation404JSONResponse

type CreateInternalOrganizationInvitation404JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation404JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation404JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation409JSONResponse

type CreateInternalOrganizationInvitation409JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation409JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation409JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitation500JSONResponse

type CreateInternalOrganizationInvitation500JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation500JSONResponse) VisitCreateInternalOrganizationInvitationResponse

func (response CreateInternalOrganizationInvitation500JSONResponse) VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type CreateInternalOrganizationInvitationJSONRequestBody

type CreateInternalOrganizationInvitationJSONRequestBody = InternalCreateInvitationRequest

CreateInternalOrganizationInvitationJSONRequestBody defines body for CreateInternalOrganizationInvitation for application/json ContentType.

type CreateInternalOrganizationInvitationRequestObject

type CreateInternalOrganizationInvitationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	Body           *CreateInternalOrganizationInvitationJSONRequestBody
}

type CreateInternalOrganizationInvitationResponseObject

type CreateInternalOrganizationInvitationResponseObject interface {
	VisitCreateInternalOrganizationInvitationResponse(w http.ResponseWriter) error
}

type CreateInternalOrganizationJSONRequestBody

type CreateInternalOrganizationJSONRequestBody = InternalCreateOrganizationRequest

CreateInternalOrganizationJSONRequestBody defines body for CreateInternalOrganization for application/json ContentType.

type CreateInternalOrganizationRequestObject

type CreateInternalOrganizationRequestObject struct {
	Body *CreateInternalOrganizationJSONRequestBody
}

type CreateInternalOrganizationResponseObject

type CreateInternalOrganizationResponseObject interface {
	VisitCreateInternalOrganizationResponse(w http.ResponseWriter) error
}

type CurrentOrganizationMember

type CurrentOrganizationMember struct {
	CreatedAt time.Time           `json:"created_at"`
	Email     openapi_types.Email `json:"email"`
	Role      OrganizationRole    `json:"role"`
	UserId    openapi_types.UUID  `json:"user_id"`
	Username  string              `json:"username"`
}

CurrentOrganizationMember defines model for CurrentOrganizationMember.

type CurrentOrganizationMembers

type CurrentOrganizationMembers struct {
	Members []CurrentOrganizationMember `json:"members"`
}

CurrentOrganizationMembers defines model for CurrentOrganizationMembers.

type CurrentUser

type CurrentUser struct {
	CreatedAt    time.Time           `json:"created_at"`
	Disabled     bool                `json:"disabled"`
	Email        openapi_types.Email `json:"email"`
	Id           openapi_types.UUID  `json:"id"`
	Organization OrganizationSummary `json:"organization"`
	Roles        []CurrentUserRoles  `json:"roles"`
	Username     string              `json:"username"`
}

CurrentUser defines model for CurrentUser.

type CurrentUserRoles

type CurrentUserRoles string

CurrentUserRoles defines model for CurrentUser.Roles.

const (
	AutharaAdmin   CurrentUserRoles = "authara:admin"
	AutharaAuditor CurrentUserRoles = "authara:auditor"
	AutharaMonitor CurrentUserRoles = "authara:monitor"
)

Defines values for CurrentUserRoles.

func (CurrentUserRoles) Valid

func (e CurrentUserRoles) Valid() bool

Valid indicates whether the value is a known member of the CurrentUserRoles enum.

type DeleteCurrentUserPasskey204Response added in v0.16.0

type DeleteCurrentUserPasskey204Response struct {
}

func (DeleteCurrentUserPasskey204Response) VisitDeleteCurrentUserPasskeyResponse added in v0.16.0

func (response DeleteCurrentUserPasskey204Response) VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error

type DeleteCurrentUserPasskey400JSONResponse added in v0.16.0

type DeleteCurrentUserPasskey400JSONResponse struct{ ErrorJSONResponse }

func (DeleteCurrentUserPasskey400JSONResponse) VisitDeleteCurrentUserPasskeyResponse added in v0.16.0

func (response DeleteCurrentUserPasskey400JSONResponse) VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error

type DeleteCurrentUserPasskey401JSONResponse added in v0.16.0

type DeleteCurrentUserPasskey401JSONResponse ErrorResponse

func (DeleteCurrentUserPasskey401JSONResponse) VisitDeleteCurrentUserPasskeyResponse added in v0.16.0

func (response DeleteCurrentUserPasskey401JSONResponse) VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error

type DeleteCurrentUserPasskey404JSONResponse added in v0.16.0

type DeleteCurrentUserPasskey404JSONResponse ErrorResponse

func (DeleteCurrentUserPasskey404JSONResponse) VisitDeleteCurrentUserPasskeyResponse added in v0.16.0

func (response DeleteCurrentUserPasskey404JSONResponse) VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error

type DeleteCurrentUserPasskey409JSONResponse added in v0.16.0

type DeleteCurrentUserPasskey409JSONResponse ErrorResponse

func (DeleteCurrentUserPasskey409JSONResponse) VisitDeleteCurrentUserPasskeyResponse added in v0.16.0

func (response DeleteCurrentUserPasskey409JSONResponse) VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error

type DeleteCurrentUserPasskey500JSONResponse added in v0.16.0

type DeleteCurrentUserPasskey500JSONResponse ErrorResponse

func (DeleteCurrentUserPasskey500JSONResponse) VisitDeleteCurrentUserPasskeyResponse added in v0.16.0

func (response DeleteCurrentUserPasskey500JSONResponse) VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error

type DeleteCurrentUserPasskeyRequestObject added in v0.16.0

type DeleteCurrentUserPasskeyRequestObject struct {
	PasskeyID PasskeyID `json:"passkeyID"`
}

type DeleteCurrentUserPasskeyResponseObject added in v0.16.0

type DeleteCurrentUserPasskeyResponseObject interface {
	VisitDeleteCurrentUserPasskeyResponse(w http.ResponseWriter) error
}

type DeleteInternalOrganization204Response added in v0.14.0

type DeleteInternalOrganization204Response struct {
}

func (DeleteInternalOrganization204Response) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization204Response) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganization400JSONResponse added in v0.14.0

type DeleteInternalOrganization400JSONResponse struct{ ErrorJSONResponse }

func (DeleteInternalOrganization400JSONResponse) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization400JSONResponse) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganization401JSONResponse added in v0.14.0

type DeleteInternalOrganization401JSONResponse ErrorResponse

func (DeleteInternalOrganization401JSONResponse) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization401JSONResponse) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganization403JSONResponse added in v0.14.0

type DeleteInternalOrganization403JSONResponse ErrorResponse

func (DeleteInternalOrganization403JSONResponse) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization403JSONResponse) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganization404JSONResponse added in v0.14.0

type DeleteInternalOrganization404JSONResponse ErrorResponse

func (DeleteInternalOrganization404JSONResponse) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization404JSONResponse) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganization409JSONResponse added in v0.14.0

type DeleteInternalOrganization409JSONResponse ErrorResponse

func (DeleteInternalOrganization409JSONResponse) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization409JSONResponse) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganization500JSONResponse added in v0.14.0

type DeleteInternalOrganization500JSONResponse ErrorResponse

func (DeleteInternalOrganization500JSONResponse) VisitDeleteInternalOrganizationResponse added in v0.14.0

func (response DeleteInternalOrganization500JSONResponse) VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error

type DeleteInternalOrganizationJSONRequestBody added in v0.14.0

type DeleteInternalOrganizationJSONRequestBody = InternalOrganizationActorRequest

DeleteInternalOrganizationJSONRequestBody defines body for DeleteInternalOrganization for application/json ContentType.

type DeleteInternalOrganizationRequestObject added in v0.14.0

type DeleteInternalOrganizationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	Body           *DeleteInternalOrganizationJSONRequestBody
}

type DeleteInternalOrganizationResponseObject added in v0.14.0

type DeleteInternalOrganizationResponseObject interface {
	VisitDeleteInternalOrganizationResponse(w http.ResponseWriter) error
}

type DeleteInternalUser204Response added in v0.14.0

type DeleteInternalUser204Response struct {
}

func (DeleteInternalUser204Response) VisitDeleteInternalUserResponse added in v0.14.0

func (response DeleteInternalUser204Response) VisitDeleteInternalUserResponse(w http.ResponseWriter) error

type DeleteInternalUser400JSONResponse added in v0.14.0

type DeleteInternalUser400JSONResponse struct{ ErrorJSONResponse }

func (DeleteInternalUser400JSONResponse) VisitDeleteInternalUserResponse added in v0.14.0

func (response DeleteInternalUser400JSONResponse) VisitDeleteInternalUserResponse(w http.ResponseWriter) error

type DeleteInternalUser401JSONResponse added in v0.14.0

type DeleteInternalUser401JSONResponse ErrorResponse

func (DeleteInternalUser401JSONResponse) VisitDeleteInternalUserResponse added in v0.14.0

func (response DeleteInternalUser401JSONResponse) VisitDeleteInternalUserResponse(w http.ResponseWriter) error

type DeleteInternalUser404JSONResponse added in v0.14.0

type DeleteInternalUser404JSONResponse ErrorResponse

func (DeleteInternalUser404JSONResponse) VisitDeleteInternalUserResponse added in v0.14.0

func (response DeleteInternalUser404JSONResponse) VisitDeleteInternalUserResponse(w http.ResponseWriter) error

type DeleteInternalUser409JSONResponse added in v0.14.0

type DeleteInternalUser409JSONResponse ErrorResponse

func (DeleteInternalUser409JSONResponse) VisitDeleteInternalUserResponse added in v0.14.0

func (response DeleteInternalUser409JSONResponse) VisitDeleteInternalUserResponse(w http.ResponseWriter) error

type DeleteInternalUser500JSONResponse added in v0.14.0

type DeleteInternalUser500JSONResponse ErrorResponse

func (DeleteInternalUser500JSONResponse) VisitDeleteInternalUserResponse added in v0.14.0

func (response DeleteInternalUser500JSONResponse) VisitDeleteInternalUserResponse(w http.ResponseWriter) error

type DeleteInternalUserRequestObject added in v0.14.0

type DeleteInternalUserRequestObject struct {
	UserID UserID `json:"userID"`
}

type DeleteInternalUserResponseObject added in v0.14.0

type DeleteInternalUserResponseObject interface {
	VisitDeleteInternalUserResponse(w http.ResponseWriter) error
}

type EmailChangeRequest added in v0.16.0

type EmailChangeRequest struct {
	NewEmail openapi_types.Email `json:"new_email"`
}

EmailChangeRequest defines model for EmailChangeRequest.

type Error

type Error = ErrorResponse

Error defines model for Error.

type ErrorJSONResponse

type ErrorJSONResponse ErrorResponse

type ErrorResponse

type ErrorResponse struct {
	Error APIError `json:"error"`
}

ErrorResponse defines model for ErrorResponse.

type FinishPasskeyAuthentication200HeadersResponse

type FinishPasskeyAuthentication200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (FinishPasskeyAuthentication200HeadersResponse) VisitFinishPasskeyAuthenticationResponse

func (r FinishPasskeyAuthentication200HeadersResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthentication200JSONResponse

type FinishPasskeyAuthentication200JSONResponse AuthSession

func (FinishPasskeyAuthentication200JSONResponse) VisitFinishPasskeyAuthenticationResponse

func (response FinishPasskeyAuthentication200JSONResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthentication400JSONResponse

type FinishPasskeyAuthentication400JSONResponse struct{ ErrorJSONResponse }

func (FinishPasskeyAuthentication400JSONResponse) VisitFinishPasskeyAuthenticationResponse

func (response FinishPasskeyAuthentication400JSONResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthentication401JSONResponse

type FinishPasskeyAuthentication401JSONResponse ErrorResponse

func (FinishPasskeyAuthentication401JSONResponse) VisitFinishPasskeyAuthenticationResponse

func (response FinishPasskeyAuthentication401JSONResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthentication403JSONResponse

type FinishPasskeyAuthentication403JSONResponse ErrorResponse

func (FinishPasskeyAuthentication403JSONResponse) VisitFinishPasskeyAuthenticationResponse

func (response FinishPasskeyAuthentication403JSONResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthentication429JSONResponse

type FinishPasskeyAuthentication429JSONResponse ErrorResponse

func (FinishPasskeyAuthentication429JSONResponse) VisitFinishPasskeyAuthenticationResponse

func (response FinishPasskeyAuthentication429JSONResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthentication500JSONResponse

type FinishPasskeyAuthentication500JSONResponse ErrorResponse

func (FinishPasskeyAuthentication500JSONResponse) VisitFinishPasskeyAuthenticationResponse

func (response FinishPasskeyAuthentication500JSONResponse) VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error

type FinishPasskeyAuthenticationJSONRequestBody

type FinishPasskeyAuthenticationJSONRequestBody = PasskeyAuthenticationFinishRequest

FinishPasskeyAuthenticationJSONRequestBody defines body for FinishPasskeyAuthentication for application/json ContentType.

type FinishPasskeyAuthenticationParams

type FinishPasskeyAuthenticationParams struct {
	Audience *FinishPasskeyAuthenticationParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

FinishPasskeyAuthenticationParams defines parameters for FinishPasskeyAuthentication.

type FinishPasskeyAuthenticationParamsAudience

type FinishPasskeyAuthenticationParamsAudience string

FinishPasskeyAuthenticationParamsAudience defines parameters for FinishPasskeyAuthentication.

const (
	FinishPasskeyAuthenticationParamsAudienceAdmin FinishPasskeyAuthenticationParamsAudience = "admin"
	FinishPasskeyAuthenticationParamsAudienceApp   FinishPasskeyAuthenticationParamsAudience = "app"
)

Defines values for FinishPasskeyAuthenticationParamsAudience.

func (FinishPasskeyAuthenticationParamsAudience) Valid

Valid indicates whether the value is a known member of the FinishPasskeyAuthenticationParamsAudience enum.

type FinishPasskeyAuthenticationRequestObject

type FinishPasskeyAuthenticationRequestObject struct {
	Params FinishPasskeyAuthenticationParams
	Body   *FinishPasskeyAuthenticationJSONRequestBody
}

type FinishPasskeyAuthenticationResponseObject

type FinishPasskeyAuthenticationResponseObject interface {
	VisitFinishPasskeyAuthenticationResponse(w http.ResponseWriter) error
}

type FinishPasskeyRegistration204Response

type FinishPasskeyRegistration204Response struct {
}

func (FinishPasskeyRegistration204Response) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration204Response) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistration400JSONResponse

type FinishPasskeyRegistration400JSONResponse struct{ ErrorJSONResponse }

func (FinishPasskeyRegistration400JSONResponse) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration400JSONResponse) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistration401JSONResponse

type FinishPasskeyRegistration401JSONResponse ErrorResponse

func (FinishPasskeyRegistration401JSONResponse) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration401JSONResponse) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistration403JSONResponse

type FinishPasskeyRegistration403JSONResponse ErrorResponse

func (FinishPasskeyRegistration403JSONResponse) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration403JSONResponse) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistration409JSONResponse

type FinishPasskeyRegistration409JSONResponse ErrorResponse

func (FinishPasskeyRegistration409JSONResponse) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration409JSONResponse) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistration422JSONResponse

type FinishPasskeyRegistration422JSONResponse ErrorResponse

func (FinishPasskeyRegistration422JSONResponse) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration422JSONResponse) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistration500JSONResponse

type FinishPasskeyRegistration500JSONResponse ErrorResponse

func (FinishPasskeyRegistration500JSONResponse) VisitFinishPasskeyRegistrationResponse

func (response FinishPasskeyRegistration500JSONResponse) VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error

type FinishPasskeyRegistrationJSONRequestBody

type FinishPasskeyRegistrationJSONRequestBody = PasskeyRegistrationFinishRequest

FinishPasskeyRegistrationJSONRequestBody defines body for FinishPasskeyRegistration for application/json ContentType.

type FinishPasskeyRegistrationRequestObject

type FinishPasskeyRegistrationRequestObject struct {
	Body *FinishPasskeyRegistrationJSONRequestBody
}

type FinishPasskeyRegistrationResponseObject

type FinishPasskeyRegistrationResponseObject interface {
	VisitFinishPasskeyRegistrationResponse(w http.ResponseWriter) error
}

type GetCsrfToken200HeadersResponse

type GetCsrfToken200HeadersResponse struct {
	Header http.Header
	Body   CSRFToken
}

func (GetCsrfToken200HeadersResponse) VisitGetCsrfTokenResponse

func (r GetCsrfToken200HeadersResponse) VisitGetCsrfTokenResponse(w http.ResponseWriter) error

type GetCsrfToken200JSONResponse

type GetCsrfToken200JSONResponse CSRFToken

func (GetCsrfToken200JSONResponse) VisitGetCsrfTokenResponse

func (response GetCsrfToken200JSONResponse) VisitGetCsrfTokenResponse(w http.ResponseWriter) error

type GetCsrfToken500JSONResponse

type GetCsrfToken500JSONResponse struct{ ErrorJSONResponse }

func (GetCsrfToken500JSONResponse) VisitGetCsrfTokenResponse

func (response GetCsrfToken500JSONResponse) VisitGetCsrfTokenResponse(w http.ResponseWriter) error

type GetCsrfTokenRequestObject

type GetCsrfTokenRequestObject struct {
}

type GetCsrfTokenResponseObject

type GetCsrfTokenResponseObject interface {
	VisitGetCsrfTokenResponse(w http.ResponseWriter) error
}

type GetCurrentAccount200JSONResponse added in v0.16.0

type GetCurrentAccount200JSONResponse Account

func (GetCurrentAccount200JSONResponse) VisitGetCurrentAccountResponse added in v0.16.0

func (response GetCurrentAccount200JSONResponse) VisitGetCurrentAccountResponse(w http.ResponseWriter) error

type GetCurrentAccount401JSONResponse added in v0.16.0

type GetCurrentAccount401JSONResponse struct{ ErrorJSONResponse }

func (GetCurrentAccount401JSONResponse) VisitGetCurrentAccountResponse added in v0.16.0

func (response GetCurrentAccount401JSONResponse) VisitGetCurrentAccountResponse(w http.ResponseWriter) error

type GetCurrentAccount500JSONResponse added in v0.16.0

type GetCurrentAccount500JSONResponse ErrorResponse

func (GetCurrentAccount500JSONResponse) VisitGetCurrentAccountResponse added in v0.16.0

func (response GetCurrentAccount500JSONResponse) VisitGetCurrentAccountResponse(w http.ResponseWriter) error

type GetCurrentAccountRequestObject added in v0.16.0

type GetCurrentAccountRequestObject struct {
}

type GetCurrentAccountResponseObject added in v0.16.0

type GetCurrentAccountResponseObject interface {
	VisitGetCurrentAccountResponse(w http.ResponseWriter) error
}

type GetCurrentOrganization200JSONResponse

type GetCurrentOrganization200JSONResponse OrganizationSummary

func (GetCurrentOrganization200JSONResponse) VisitGetCurrentOrganizationResponse

func (response GetCurrentOrganization200JSONResponse) VisitGetCurrentOrganizationResponse(w http.ResponseWriter) error

type GetCurrentOrganization401JSONResponse

type GetCurrentOrganization401JSONResponse struct{ ErrorJSONResponse }

func (GetCurrentOrganization401JSONResponse) VisitGetCurrentOrganizationResponse

func (response GetCurrentOrganization401JSONResponse) VisitGetCurrentOrganizationResponse(w http.ResponseWriter) error

type GetCurrentOrganization500JSONResponse

type GetCurrentOrganization500JSONResponse ErrorResponse

func (GetCurrentOrganization500JSONResponse) VisitGetCurrentOrganizationResponse

func (response GetCurrentOrganization500JSONResponse) VisitGetCurrentOrganizationResponse(w http.ResponseWriter) error

type GetCurrentOrganizationRequestObject

type GetCurrentOrganizationRequestObject struct {
}

type GetCurrentOrganizationResponseObject

type GetCurrentOrganizationResponseObject interface {
	VisitGetCurrentOrganizationResponse(w http.ResponseWriter) error
}

type GetCurrentUser200JSONResponse

type GetCurrentUser200JSONResponse CurrentUser

func (GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser401JSONResponse

type GetCurrentUser401JSONResponse struct{ ErrorJSONResponse }

func (GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser500JSONResponse

type GetCurrentUser500JSONResponse ErrorResponse

func (GetCurrentUser500JSONResponse) VisitGetCurrentUserResponse

func (response GetCurrentUser500JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUserRequestObject

type GetCurrentUserRequestObject struct {
}

type GetCurrentUserResponseObject

type GetCurrentUserResponseObject interface {
	VisitGetCurrentUserResponse(w http.ResponseWriter) error
}

type GetGoogleLoginOptions200HeadersResponse

type GetGoogleLoginOptions200HeadersResponse struct {
	Header http.Header
	Body   GoogleLoginOptions
}

func (GetGoogleLoginOptions200HeadersResponse) VisitGetGoogleLoginOptionsResponse

func (r GetGoogleLoginOptions200HeadersResponse) VisitGetGoogleLoginOptionsResponse(w http.ResponseWriter) error

type GetGoogleLoginOptions200JSONResponse

type GetGoogleLoginOptions200JSONResponse GoogleLoginOptions

func (GetGoogleLoginOptions200JSONResponse) VisitGetGoogleLoginOptionsResponse

func (response GetGoogleLoginOptions200JSONResponse) VisitGetGoogleLoginOptionsResponse(w http.ResponseWriter) error

type GetGoogleLoginOptions404JSONResponse

type GetGoogleLoginOptions404JSONResponse struct{ ErrorJSONResponse }

func (GetGoogleLoginOptions404JSONResponse) VisitGetGoogleLoginOptionsResponse

func (response GetGoogleLoginOptions404JSONResponse) VisitGetGoogleLoginOptionsResponse(w http.ResponseWriter) error

type GetGoogleLoginOptions500JSONResponse

type GetGoogleLoginOptions500JSONResponse ErrorResponse

func (GetGoogleLoginOptions500JSONResponse) VisitGetGoogleLoginOptionsResponse

func (response GetGoogleLoginOptions500JSONResponse) VisitGetGoogleLoginOptionsResponse(w http.ResponseWriter) error

type GetGoogleLoginOptionsRequestObject

type GetGoogleLoginOptionsRequestObject struct {
}

type GetGoogleLoginOptionsResponseObject

type GetGoogleLoginOptionsResponseObject interface {
	VisitGetGoogleLoginOptionsResponse(w http.ResponseWriter) error
}

type GetPublicCapabilities200JSONResponse

type GetPublicCapabilities200JSONResponse Capabilities

func (GetPublicCapabilities200JSONResponse) VisitGetPublicCapabilitiesResponse

func (response GetPublicCapabilities200JSONResponse) VisitGetPublicCapabilitiesResponse(w http.ResponseWriter) error

type GetPublicCapabilities401JSONResponse

type GetPublicCapabilities401JSONResponse struct{ ErrorJSONResponse }

func (GetPublicCapabilities401JSONResponse) VisitGetPublicCapabilitiesResponse

func (response GetPublicCapabilities401JSONResponse) VisitGetPublicCapabilitiesResponse(w http.ResponseWriter) error

type GetPublicCapabilities500JSONResponse

type GetPublicCapabilities500JSONResponse ErrorResponse

func (GetPublicCapabilities500JSONResponse) VisitGetPublicCapabilitiesResponse

func (response GetPublicCapabilities500JSONResponse) VisitGetPublicCapabilitiesResponse(w http.ResponseWriter) error

type GetPublicCapabilitiesRequestObject

type GetPublicCapabilitiesRequestObject struct {
}

type GetPublicCapabilitiesResponseObject

type GetPublicCapabilitiesResponseObject interface {
	VisitGetPublicCapabilitiesResponse(w http.ResponseWriter) error
}

type GetPublicOrganization200JSONResponse

type GetPublicOrganization200JSONResponse OrganizationEnvelope

func (GetPublicOrganization200JSONResponse) VisitGetPublicOrganizationResponse

func (response GetPublicOrganization200JSONResponse) VisitGetPublicOrganizationResponse(w http.ResponseWriter) error

type GetPublicOrganization400JSONResponse

type GetPublicOrganization400JSONResponse struct{ ErrorJSONResponse }

func (GetPublicOrganization400JSONResponse) VisitGetPublicOrganizationResponse

func (response GetPublicOrganization400JSONResponse) VisitGetPublicOrganizationResponse(w http.ResponseWriter) error

type GetPublicOrganization401JSONResponse

type GetPublicOrganization401JSONResponse ErrorResponse

func (GetPublicOrganization401JSONResponse) VisitGetPublicOrganizationResponse

func (response GetPublicOrganization401JSONResponse) VisitGetPublicOrganizationResponse(w http.ResponseWriter) error

type GetPublicOrganization403JSONResponse

type GetPublicOrganization403JSONResponse ErrorResponse

func (GetPublicOrganization403JSONResponse) VisitGetPublicOrganizationResponse

func (response GetPublicOrganization403JSONResponse) VisitGetPublicOrganizationResponse(w http.ResponseWriter) error

type GetPublicOrganization404JSONResponse

type GetPublicOrganization404JSONResponse ErrorResponse

func (GetPublicOrganization404JSONResponse) VisitGetPublicOrganizationResponse

func (response GetPublicOrganization404JSONResponse) VisitGetPublicOrganizationResponse(w http.ResponseWriter) error

type GetPublicOrganization500JSONResponse

type GetPublicOrganization500JSONResponse ErrorResponse

func (GetPublicOrganization500JSONResponse) VisitGetPublicOrganizationResponse

func (response GetPublicOrganization500JSONResponse) VisitGetPublicOrganizationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitation200JSONResponse

type GetPublicOrganizationInvitation200JSONResponse OrganizationInvitationEnvelope

func (GetPublicOrganizationInvitation200JSONResponse) VisitGetPublicOrganizationInvitationResponse

func (response GetPublicOrganizationInvitation200JSONResponse) VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitation400JSONResponse

type GetPublicOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (GetPublicOrganizationInvitation400JSONResponse) VisitGetPublicOrganizationInvitationResponse

func (response GetPublicOrganizationInvitation400JSONResponse) VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitation401JSONResponse

type GetPublicOrganizationInvitation401JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation401JSONResponse) VisitGetPublicOrganizationInvitationResponse

func (response GetPublicOrganizationInvitation401JSONResponse) VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitation403JSONResponse

type GetPublicOrganizationInvitation403JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation403JSONResponse) VisitGetPublicOrganizationInvitationResponse

func (response GetPublicOrganizationInvitation403JSONResponse) VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitation404JSONResponse

type GetPublicOrganizationInvitation404JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation404JSONResponse) VisitGetPublicOrganizationInvitationResponse

func (response GetPublicOrganizationInvitation404JSONResponse) VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitation500JSONResponse

type GetPublicOrganizationInvitation500JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation500JSONResponse) VisitGetPublicOrganizationInvitationResponse

func (response GetPublicOrganizationInvitation500JSONResponse) VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error

type GetPublicOrganizationInvitationRequestObject

type GetPublicOrganizationInvitationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	InvitationID   InvitationID   `json:"invitationID"`
}

type GetPublicOrganizationInvitationResponseObject

type GetPublicOrganizationInvitationResponseObject interface {
	VisitGetPublicOrganizationInvitationResponse(w http.ResponseWriter) error
}

type GetPublicOrganizationMember200JSONResponse

type GetPublicOrganizationMember200JSONResponse OrganizationMemberEnvelope

func (GetPublicOrganizationMember200JSONResponse) VisitGetPublicOrganizationMemberResponse

func (response GetPublicOrganizationMember200JSONResponse) VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error

type GetPublicOrganizationMember400JSONResponse

type GetPublicOrganizationMember400JSONResponse struct{ ErrorJSONResponse }

func (GetPublicOrganizationMember400JSONResponse) VisitGetPublicOrganizationMemberResponse

func (response GetPublicOrganizationMember400JSONResponse) VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error

type GetPublicOrganizationMember401JSONResponse

type GetPublicOrganizationMember401JSONResponse ErrorResponse

func (GetPublicOrganizationMember401JSONResponse) VisitGetPublicOrganizationMemberResponse

func (response GetPublicOrganizationMember401JSONResponse) VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error

type GetPublicOrganizationMember403JSONResponse

type GetPublicOrganizationMember403JSONResponse ErrorResponse

func (GetPublicOrganizationMember403JSONResponse) VisitGetPublicOrganizationMemberResponse

func (response GetPublicOrganizationMember403JSONResponse) VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error

type GetPublicOrganizationMember404JSONResponse

type GetPublicOrganizationMember404JSONResponse ErrorResponse

func (GetPublicOrganizationMember404JSONResponse) VisitGetPublicOrganizationMemberResponse

func (response GetPublicOrganizationMember404JSONResponse) VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error

type GetPublicOrganizationMember500JSONResponse

type GetPublicOrganizationMember500JSONResponse ErrorResponse

func (GetPublicOrganizationMember500JSONResponse) VisitGetPublicOrganizationMemberResponse

func (response GetPublicOrganizationMember500JSONResponse) VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error

type GetPublicOrganizationMemberRequestObject

type GetPublicOrganizationMemberRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	UserID         UserID         `json:"userID"`
}

type GetPublicOrganizationMemberResponseObject

type GetPublicOrganizationMemberResponseObject interface {
	VisitGetPublicOrganizationMemberResponse(w http.ResponseWriter) error
}

type GetPublicOrganizationRequestObject

type GetPublicOrganizationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
}

type GetPublicOrganizationResponseObject

type GetPublicOrganizationResponseObject interface {
	VisitGetPublicOrganizationResponse(w http.ResponseWriter) error
}

type GoogleLoginOptions

type GoogleLoginOptions struct {
	ClientId string `json:"client_id"`
	Nonce    string `json:"nonce"`
}

GoogleLoginOptions defines model for GoogleLoginOptions.

type GoogleLoginRequest

type GoogleLoginRequest struct {
	Credential string `json:"credential"`
	Nonce      string `json:"nonce"`
}

GoogleLoginRequest defines model for GoogleLoginRequest.

type InternalCreateInvitationRequest

type InternalCreateInvitationRequest struct {
	ActorUserId openapi_types.UUID  `json:"actor_user_id"`
	Email       openapi_types.Email `json:"email"`

	// Metadata Opaque application metadata stored and forwarded by Authara.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Role Authara organization role granted when the invitation is accepted. Owner is reserved for the organization creator.
	Role *OrganizationInvitationRole `json:"role,omitempty"`
}

InternalCreateInvitationRequest defines model for InternalCreateInvitationRequest.

type InternalCreateOrganizationRequest

type InternalCreateOrganizationRequest struct {
	CreatedByUserId openapi_types.UUID `json:"created_by_user_id"`
	Name            string             `json:"name"`
}

InternalCreateOrganizationRequest defines model for InternalCreateOrganizationRequest.

type InternalOrganizationActorRequest added in v0.14.0

type InternalOrganizationActorRequest struct {
	ActorUserId openapi_types.UUID `json:"actor_user_id"`
}

InternalOrganizationActorRequest defines model for InternalOrganizationActorRequest.

type InternalOwnershipTransferRequest added in v0.14.0

type InternalOwnershipTransferRequest struct {
	ActorUserId    openapi_types.UUID `json:"actor_user_id"`
	NewOwnerUserId openapi_types.UUID `json:"new_owner_user_id"`
}

InternalOwnershipTransferRequest defines model for InternalOwnershipTransferRequest.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type InvitationGoogleRequest added in v0.16.0

type InvitationGoogleRequest struct {
	Credential string                      `json:"credential"`
	Flow       InvitationGoogleRequestFlow `json:"flow"`
	Nonce      string                      `json:"nonce"`
	Token      string                      `json:"token"`
}

InvitationGoogleRequest defines model for InvitationGoogleRequest.

type InvitationGoogleRequestFlow added in v0.16.0

type InvitationGoogleRequestFlow string

InvitationGoogleRequestFlow defines model for InvitationGoogleRequest.Flow.

const (
	Login  InvitationGoogleRequestFlow = "login"
	Signup InvitationGoogleRequestFlow = "signup"
)

Defines values for InvitationGoogleRequestFlow.

func (InvitationGoogleRequestFlow) Valid added in v0.16.0

Valid indicates whether the value is a known member of the InvitationGoogleRequestFlow enum.

type InvitationGoogleResult added in v0.16.0

type InvitationGoogleResult struct {
	Recovery *AccountRecoveryLink         `json:"recovery,omitempty"`
	Session  *AuthSession                 `json:"session,omitempty"`
	Status   InvitationGoogleResultStatus `json:"status"`
}

InvitationGoogleResult defines model for InvitationGoogleResult.

type InvitationGoogleResultStatus added in v0.16.0

type InvitationGoogleResultStatus string

InvitationGoogleResultStatus defines model for InvitationGoogleResult.Status.

const (
	Authenticated InvitationGoogleResultStatus = "authenticated"
	ProofRequired InvitationGoogleResultStatus = "proof_required"
)

Defines values for InvitationGoogleResultStatus.

func (InvitationGoogleResultStatus) Valid added in v0.16.0

Valid indicates whether the value is a known member of the InvitationGoogleResultStatus enum.

type InvitationID

type InvitationID = openapi_types.UUID

InvitationID defines model for InvitationID.

type InvitationPasswordLoginRequest added in v0.16.0

type InvitationPasswordLoginRequest struct {
	Password string `json:"password"`
	Token    string `json:"token"`
}

InvitationPasswordLoginRequest defines model for InvitationPasswordLoginRequest.

type InvitationPreview added in v0.16.0

type InvitationPreview struct {
	Invitation   OrganizationInvitation `json:"invitation"`
	Organization Organization           `json:"organization"`
}

InvitationPreview defines model for InvitationPreview.

type InvitationTokenRequest added in v0.16.0

type InvitationTokenRequest struct {
	Token string `json:"token"`
}

InvitationTokenRequest defines model for InvitationTokenRequest.

type LinkCurrentUserGoogle204HeadersResponse added in v0.16.0

type LinkCurrentUserGoogle204HeadersResponse struct {
	Header http.Header
}

func (LinkCurrentUserGoogle204HeadersResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (r LinkCurrentUserGoogle204HeadersResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle204Response added in v0.16.0

type LinkCurrentUserGoogle204Response struct {
}

func (LinkCurrentUserGoogle204Response) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle204Response) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle400JSONResponse added in v0.16.0

type LinkCurrentUserGoogle400JSONResponse struct{ ErrorJSONResponse }

func (LinkCurrentUserGoogle400JSONResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle400JSONResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle401JSONResponse added in v0.16.0

type LinkCurrentUserGoogle401JSONResponse ErrorResponse

func (LinkCurrentUserGoogle401JSONResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle401JSONResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle403JSONResponse added in v0.16.0

type LinkCurrentUserGoogle403JSONResponse ErrorResponse

func (LinkCurrentUserGoogle403JSONResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle403JSONResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle404JSONResponse added in v0.16.0

type LinkCurrentUserGoogle404JSONResponse ErrorResponse

func (LinkCurrentUserGoogle404JSONResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle404JSONResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle409JSONResponse added in v0.16.0

type LinkCurrentUserGoogle409JSONResponse ErrorResponse

func (LinkCurrentUserGoogle409JSONResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle409JSONResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogle500JSONResponse added in v0.16.0

type LinkCurrentUserGoogle500JSONResponse ErrorResponse

func (LinkCurrentUserGoogle500JSONResponse) VisitLinkCurrentUserGoogleResponse added in v0.16.0

func (response LinkCurrentUserGoogle500JSONResponse) VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error

type LinkCurrentUserGoogleJSONRequestBody added in v0.16.0

type LinkCurrentUserGoogleJSONRequestBody = GoogleLoginRequest

LinkCurrentUserGoogleJSONRequestBody defines body for LinkCurrentUserGoogle for application/json ContentType.

type LinkCurrentUserGoogleRequestObject added in v0.16.0

type LinkCurrentUserGoogleRequestObject struct {
	Body *LinkCurrentUserGoogleJSONRequestBody
}

type LinkCurrentUserGoogleResponseObject added in v0.16.0

type LinkCurrentUserGoogleResponseObject interface {
	VisitLinkCurrentUserGoogleResponse(w http.ResponseWriter) error
}

type ListCurrentOrganizationMembers200JSONResponse

type ListCurrentOrganizationMembers200JSONResponse CurrentOrganizationMembers

func (ListCurrentOrganizationMembers200JSONResponse) VisitListCurrentOrganizationMembersResponse

func (response ListCurrentOrganizationMembers200JSONResponse) VisitListCurrentOrganizationMembersResponse(w http.ResponseWriter) error

type ListCurrentOrganizationMembers401JSONResponse

type ListCurrentOrganizationMembers401JSONResponse struct{ ErrorJSONResponse }

func (ListCurrentOrganizationMembers401JSONResponse) VisitListCurrentOrganizationMembersResponse

func (response ListCurrentOrganizationMembers401JSONResponse) VisitListCurrentOrganizationMembersResponse(w http.ResponseWriter) error

type ListCurrentOrganizationMembers403JSONResponse

type ListCurrentOrganizationMembers403JSONResponse ErrorResponse

func (ListCurrentOrganizationMembers403JSONResponse) VisitListCurrentOrganizationMembersResponse

func (response ListCurrentOrganizationMembers403JSONResponse) VisitListCurrentOrganizationMembersResponse(w http.ResponseWriter) error

type ListCurrentOrganizationMembers500JSONResponse

type ListCurrentOrganizationMembers500JSONResponse ErrorResponse

func (ListCurrentOrganizationMembers500JSONResponse) VisitListCurrentOrganizationMembersResponse

func (response ListCurrentOrganizationMembers500JSONResponse) VisitListCurrentOrganizationMembersResponse(w http.ResponseWriter) error

type ListCurrentOrganizationMembersRequestObject

type ListCurrentOrganizationMembersRequestObject struct {
}

type ListCurrentOrganizationMembersResponseObject

type ListCurrentOrganizationMembersResponseObject interface {
	VisitListCurrentOrganizationMembersResponse(w http.ResponseWriter) error
}

type ListCurrentUserOrganizations200JSONResponse

type ListCurrentUserOrganizations200JSONResponse OrganizationSummaries

func (ListCurrentUserOrganizations200JSONResponse) VisitListCurrentUserOrganizationsResponse

func (response ListCurrentUserOrganizations200JSONResponse) VisitListCurrentUserOrganizationsResponse(w http.ResponseWriter) error

type ListCurrentUserOrganizations401JSONResponse

type ListCurrentUserOrganizations401JSONResponse struct{ ErrorJSONResponse }

func (ListCurrentUserOrganizations401JSONResponse) VisitListCurrentUserOrganizationsResponse

func (response ListCurrentUserOrganizations401JSONResponse) VisitListCurrentUserOrganizationsResponse(w http.ResponseWriter) error

type ListCurrentUserOrganizations500JSONResponse

type ListCurrentUserOrganizations500JSONResponse ErrorResponse

func (ListCurrentUserOrganizations500JSONResponse) VisitListCurrentUserOrganizationsResponse

func (response ListCurrentUserOrganizations500JSONResponse) VisitListCurrentUserOrganizationsResponse(w http.ResponseWriter) error

type ListCurrentUserOrganizationsRequestObject

type ListCurrentUserOrganizationsRequestObject struct {
}

type ListCurrentUserOrganizationsResponseObject

type ListCurrentUserOrganizationsResponseObject interface {
	VisitListCurrentUserOrganizationsResponse(w http.ResponseWriter) error
}

type ListPublicOrganizationInvitations200JSONResponse

type ListPublicOrganizationInvitations200JSONResponse OrganizationInvitations

func (ListPublicOrganizationInvitations200JSONResponse) VisitListPublicOrganizationInvitationsResponse

func (response ListPublicOrganizationInvitations200JSONResponse) VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error

type ListPublicOrganizationInvitations400JSONResponse

type ListPublicOrganizationInvitations400JSONResponse struct{ ErrorJSONResponse }

func (ListPublicOrganizationInvitations400JSONResponse) VisitListPublicOrganizationInvitationsResponse

func (response ListPublicOrganizationInvitations400JSONResponse) VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error

type ListPublicOrganizationInvitations401JSONResponse

type ListPublicOrganizationInvitations401JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations401JSONResponse) VisitListPublicOrganizationInvitationsResponse

func (response ListPublicOrganizationInvitations401JSONResponse) VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error

type ListPublicOrganizationInvitations403JSONResponse

type ListPublicOrganizationInvitations403JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations403JSONResponse) VisitListPublicOrganizationInvitationsResponse

func (response ListPublicOrganizationInvitations403JSONResponse) VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error

type ListPublicOrganizationInvitations404JSONResponse

type ListPublicOrganizationInvitations404JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations404JSONResponse) VisitListPublicOrganizationInvitationsResponse

func (response ListPublicOrganizationInvitations404JSONResponse) VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error

type ListPublicOrganizationInvitations500JSONResponse

type ListPublicOrganizationInvitations500JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations500JSONResponse) VisitListPublicOrganizationInvitationsResponse

func (response ListPublicOrganizationInvitations500JSONResponse) VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error

type ListPublicOrganizationInvitationsRequestObject

type ListPublicOrganizationInvitationsRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
}

type ListPublicOrganizationInvitationsResponseObject

type ListPublicOrganizationInvitationsResponseObject interface {
	VisitListPublicOrganizationInvitationsResponse(w http.ResponseWriter) error
}

type ListPublicOrganizationMembers200JSONResponse

type ListPublicOrganizationMembers200JSONResponse OrganizationMembers

func (ListPublicOrganizationMembers200JSONResponse) VisitListPublicOrganizationMembersResponse

func (response ListPublicOrganizationMembers200JSONResponse) VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error

type ListPublicOrganizationMembers400JSONResponse

type ListPublicOrganizationMembers400JSONResponse struct{ ErrorJSONResponse }

func (ListPublicOrganizationMembers400JSONResponse) VisitListPublicOrganizationMembersResponse

func (response ListPublicOrganizationMembers400JSONResponse) VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error

type ListPublicOrganizationMembers401JSONResponse

type ListPublicOrganizationMembers401JSONResponse ErrorResponse

func (ListPublicOrganizationMembers401JSONResponse) VisitListPublicOrganizationMembersResponse

func (response ListPublicOrganizationMembers401JSONResponse) VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error

type ListPublicOrganizationMembers403JSONResponse

type ListPublicOrganizationMembers403JSONResponse ErrorResponse

func (ListPublicOrganizationMembers403JSONResponse) VisitListPublicOrganizationMembersResponse

func (response ListPublicOrganizationMembers403JSONResponse) VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error

type ListPublicOrganizationMembers404JSONResponse

type ListPublicOrganizationMembers404JSONResponse ErrorResponse

func (ListPublicOrganizationMembers404JSONResponse) VisitListPublicOrganizationMembersResponse

func (response ListPublicOrganizationMembers404JSONResponse) VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error

type ListPublicOrganizationMembers500JSONResponse

type ListPublicOrganizationMembers500JSONResponse ErrorResponse

func (ListPublicOrganizationMembers500JSONResponse) VisitListPublicOrganizationMembersResponse

func (response ListPublicOrganizationMembers500JSONResponse) VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error

type ListPublicOrganizationMembersRequestObject

type ListPublicOrganizationMembersRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
}

type ListPublicOrganizationMembersResponseObject

type ListPublicOrganizationMembersResponseObject interface {
	VisitListPublicOrganizationMembersResponse(w http.ResponseWriter) error
}

type ListPublicUserMemberships200JSONResponse

type ListPublicUserMemberships200JSONResponse UserMemberships

func (ListPublicUserMemberships200JSONResponse) VisitListPublicUserMembershipsResponse

func (response ListPublicUserMemberships200JSONResponse) VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error

type ListPublicUserMemberships400JSONResponse

type ListPublicUserMemberships400JSONResponse struct{ ErrorJSONResponse }

func (ListPublicUserMemberships400JSONResponse) VisitListPublicUserMembershipsResponse

func (response ListPublicUserMemberships400JSONResponse) VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error

type ListPublicUserMemberships401JSONResponse

type ListPublicUserMemberships401JSONResponse ErrorResponse

func (ListPublicUserMemberships401JSONResponse) VisitListPublicUserMembershipsResponse

func (response ListPublicUserMemberships401JSONResponse) VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error

type ListPublicUserMemberships403JSONResponse

type ListPublicUserMemberships403JSONResponse ErrorResponse

func (ListPublicUserMemberships403JSONResponse) VisitListPublicUserMembershipsResponse

func (response ListPublicUserMemberships403JSONResponse) VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error

type ListPublicUserMemberships404JSONResponse

type ListPublicUserMemberships404JSONResponse ErrorResponse

func (ListPublicUserMemberships404JSONResponse) VisitListPublicUserMembershipsResponse

func (response ListPublicUserMemberships404JSONResponse) VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error

type ListPublicUserMemberships500JSONResponse

type ListPublicUserMemberships500JSONResponse ErrorResponse

func (ListPublicUserMemberships500JSONResponse) VisitListPublicUserMembershipsResponse

func (response ListPublicUserMemberships500JSONResponse) VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error

type ListPublicUserMembershipsRequestObject

type ListPublicUserMembershipsRequestObject struct {
	UserID UserID `json:"userID"`
}

type ListPublicUserMembershipsResponseObject

type ListPublicUserMembershipsResponseObject interface {
	VisitListPublicUserMembershipsResponse(w http.ResponseWriter) error
}

type LoginAndAcceptInvitation200HeadersResponse added in v0.16.0

type LoginAndAcceptInvitation200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (LoginAndAcceptInvitation200HeadersResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (r LoginAndAcceptInvitation200HeadersResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation200JSONResponse added in v0.16.0

type LoginAndAcceptInvitation200JSONResponse AuthSession

func (LoginAndAcceptInvitation200JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation200JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation400JSONResponse added in v0.16.0

type LoginAndAcceptInvitation400JSONResponse struct{ ErrorJSONResponse }

func (LoginAndAcceptInvitation400JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation400JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation401JSONResponse added in v0.16.0

type LoginAndAcceptInvitation401JSONResponse ErrorResponse

func (LoginAndAcceptInvitation401JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation401JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation403JSONResponse added in v0.16.0

type LoginAndAcceptInvitation403JSONResponse ErrorResponse

func (LoginAndAcceptInvitation403JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation403JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation404JSONResponse added in v0.16.0

type LoginAndAcceptInvitation404JSONResponse ErrorResponse

func (LoginAndAcceptInvitation404JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation404JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation409JSONResponse added in v0.16.0

type LoginAndAcceptInvitation409JSONResponse ErrorResponse

func (LoginAndAcceptInvitation409JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation409JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation429JSONResponse added in v0.16.0

type LoginAndAcceptInvitation429JSONResponse ErrorResponse

func (LoginAndAcceptInvitation429JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation429JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitation500JSONResponse added in v0.16.0

type LoginAndAcceptInvitation500JSONResponse ErrorResponse

func (LoginAndAcceptInvitation500JSONResponse) VisitLoginAndAcceptInvitationResponse added in v0.16.0

func (response LoginAndAcceptInvitation500JSONResponse) VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error

type LoginAndAcceptInvitationJSONRequestBody added in v0.16.0

type LoginAndAcceptInvitationJSONRequestBody = InvitationPasswordLoginRequest

LoginAndAcceptInvitationJSONRequestBody defines body for LoginAndAcceptInvitation for application/json ContentType.

type LoginAndAcceptInvitationParams added in v0.16.0

type LoginAndAcceptInvitationParams struct {
	Audience *LoginAndAcceptInvitationParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

LoginAndAcceptInvitationParams defines parameters for LoginAndAcceptInvitation.

type LoginAndAcceptInvitationParamsAudience added in v0.16.0

type LoginAndAcceptInvitationParamsAudience string

LoginAndAcceptInvitationParamsAudience defines parameters for LoginAndAcceptInvitation.

const (
	LoginAndAcceptInvitationParamsAudienceApp LoginAndAcceptInvitationParamsAudience = "app"
)

Defines values for LoginAndAcceptInvitationParamsAudience.

func (LoginAndAcceptInvitationParamsAudience) Valid added in v0.16.0

Valid indicates whether the value is a known member of the LoginAndAcceptInvitationParamsAudience enum.

type LoginAndAcceptInvitationRequestObject added in v0.16.0

type LoginAndAcceptInvitationRequestObject struct {
	Params LoginAndAcceptInvitationParams
	Body   *LoginAndAcceptInvitationJSONRequestBody
}

type LoginAndAcceptInvitationResponseObject added in v0.16.0

type LoginAndAcceptInvitationResponseObject interface {
	VisitLoginAndAcceptInvitationResponse(w http.ResponseWriter) error
}

type LoginWithGoogle200HeadersResponse

type LoginWithGoogle200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (LoginWithGoogle200HeadersResponse) VisitLoginWithGoogleResponse

func (r LoginWithGoogle200HeadersResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle200JSONResponse

type LoginWithGoogle200JSONResponse AuthSession

func (LoginWithGoogle200JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle200JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle400JSONResponse

type LoginWithGoogle400JSONResponse struct{ ErrorJSONResponse }

func (LoginWithGoogle400JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle400JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle401JSONResponse

type LoginWithGoogle401JSONResponse ErrorResponse

func (LoginWithGoogle401JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle401JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle403JSONResponse

type LoginWithGoogle403JSONResponse ErrorResponse

func (LoginWithGoogle403JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle403JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle404JSONResponse

type LoginWithGoogle404JSONResponse ErrorResponse

func (LoginWithGoogle404JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle404JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle409JSONResponse

type LoginWithGoogle409JSONResponse ErrorResponse

func (LoginWithGoogle409JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle409JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogle500JSONResponse

type LoginWithGoogle500JSONResponse ErrorResponse

func (LoginWithGoogle500JSONResponse) VisitLoginWithGoogleResponse

func (response LoginWithGoogle500JSONResponse) VisitLoginWithGoogleResponse(w http.ResponseWriter) error

type LoginWithGoogleJSONRequestBody

type LoginWithGoogleJSONRequestBody = GoogleLoginRequest

LoginWithGoogleJSONRequestBody defines body for LoginWithGoogle for application/json ContentType.

type LoginWithGoogleParams

type LoginWithGoogleParams struct {
	Audience *LoginWithGoogleParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

LoginWithGoogleParams defines parameters for LoginWithGoogle.

type LoginWithGoogleParamsAudience

type LoginWithGoogleParamsAudience string

LoginWithGoogleParamsAudience defines parameters for LoginWithGoogle.

const (
	LoginWithGoogleParamsAudienceAdmin LoginWithGoogleParamsAudience = "admin"
	LoginWithGoogleParamsAudienceApp   LoginWithGoogleParamsAudience = "app"
)

Defines values for LoginWithGoogleParamsAudience.

func (LoginWithGoogleParamsAudience) Valid

Valid indicates whether the value is a known member of the LoginWithGoogleParamsAudience enum.

type LoginWithGoogleRequestObject

type LoginWithGoogleRequestObject struct {
	Params LoginWithGoogleParams
	Body   *LoginWithGoogleJSONRequestBody
}

type LoginWithGoogleResponseObject

type LoginWithGoogleResponseObject interface {
	VisitLoginWithGoogleResponse(w http.ResponseWriter) error
}

type LoginWithPassword200HeadersResponse

type LoginWithPassword200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (LoginWithPassword200HeadersResponse) VisitLoginWithPasswordResponse

func (r LoginWithPassword200HeadersResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPassword200JSONResponse

type LoginWithPassword200JSONResponse AuthSession

func (LoginWithPassword200JSONResponse) VisitLoginWithPasswordResponse

func (response LoginWithPassword200JSONResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPassword400JSONResponse

type LoginWithPassword400JSONResponse struct{ ErrorJSONResponse }

func (LoginWithPassword400JSONResponse) VisitLoginWithPasswordResponse

func (response LoginWithPassword400JSONResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPassword401JSONResponse

type LoginWithPassword401JSONResponse ErrorResponse

func (LoginWithPassword401JSONResponse) VisitLoginWithPasswordResponse

func (response LoginWithPassword401JSONResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPassword403JSONResponse

type LoginWithPassword403JSONResponse ErrorResponse

func (LoginWithPassword403JSONResponse) VisitLoginWithPasswordResponse

func (response LoginWithPassword403JSONResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPassword429JSONResponse

type LoginWithPassword429JSONResponse ErrorResponse

func (LoginWithPassword429JSONResponse) VisitLoginWithPasswordResponse

func (response LoginWithPassword429JSONResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPassword500JSONResponse

type LoginWithPassword500JSONResponse ErrorResponse

func (LoginWithPassword500JSONResponse) VisitLoginWithPasswordResponse

func (response LoginWithPassword500JSONResponse) VisitLoginWithPasswordResponse(w http.ResponseWriter) error

type LoginWithPasswordJSONRequestBody

type LoginWithPasswordJSONRequestBody = PasswordLoginRequest

LoginWithPasswordJSONRequestBody defines body for LoginWithPassword for application/json ContentType.

type LoginWithPasswordParams

type LoginWithPasswordParams struct {
	Audience *LoginWithPasswordParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

LoginWithPasswordParams defines parameters for LoginWithPassword.

type LoginWithPasswordParamsAudience

type LoginWithPasswordParamsAudience string

LoginWithPasswordParamsAudience defines parameters for LoginWithPassword.

const (
	LoginWithPasswordParamsAudienceAdmin LoginWithPasswordParamsAudience = "admin"
	LoginWithPasswordParamsAudienceApp   LoginWithPasswordParamsAudience = "app"
)

Defines values for LoginWithPasswordParamsAudience.

func (LoginWithPasswordParamsAudience) Valid

Valid indicates whether the value is a known member of the LoginWithPasswordParamsAudience enum.

type LoginWithPasswordRequestObject

type LoginWithPasswordRequestObject struct {
	Params LoginWithPasswordParams
	Body   *LoginWithPasswordJSONRequestBody
}

type LoginWithPasswordResponseObject

type LoginWithPasswordResponseObject interface {
	VisitLoginWithPasswordResponse(w http.ResponseWriter) error
}

type Logout204HeadersResponse

type Logout204HeadersResponse struct {
	Header http.Header
}

func (Logout204HeadersResponse) VisitLogoutResponse

func (r Logout204HeadersResponse) VisitLogoutResponse(w http.ResponseWriter) error

type Logout204Response

type Logout204Response struct {
}

func (Logout204Response) VisitLogoutResponse

func (response Logout204Response) VisitLogoutResponse(w http.ResponseWriter) error

type Logout403JSONResponse

type Logout403JSONResponse struct{ ErrorJSONResponse }

func (Logout403JSONResponse) VisitLogoutResponse

func (response Logout403JSONResponse) VisitLogoutResponse(w http.ResponseWriter) error

type Logout500JSONResponse

type Logout500JSONResponse ErrorResponse

func (Logout500JSONResponse) VisitLogoutResponse

func (response Logout500JSONResponse) VisitLogoutResponse(w http.ResponseWriter) error

type LogoutRequestObject

type LogoutRequestObject struct {
}

type LogoutResponseObject

type LogoutResponseObject interface {
	VisitLogoutResponse(w http.ResponseWriter) error
}

type Membership

type Membership struct {
	CreatedAt      time.Time          `json:"created_at"`
	OrganizationId openapi_types.UUID `json:"organization_id"`
	Role           OrganizationRole   `json:"role"`
	UpdatedAt      time.Time          `json:"updated_at"`
	UserId         openapi_types.UUID `json:"user_id"`
}

Membership defines model for Membership.

type MembershipWithOrganization

type MembershipWithOrganization struct {
	Membership   Membership   `json:"membership"`
	Organization Organization `json:"organization"`
}

MembershipWithOrganization defines model for MembershipWithOrganization.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Organization

type Organization struct {
	CreatedAt       time.Time           `json:"created_at"`
	CreatedByUserId *openapi_types.UUID `json:"created_by_user_id,omitempty"`
	Id              openapi_types.UUID  `json:"id"`
	Kind            OrganizationKind    `json:"kind"`
	Name            string              `json:"name"`
	UpdatedAt       time.Time           `json:"updated_at"`
}

Organization defines model for Organization.

type OrganizationEnvelope

type OrganizationEnvelope struct {
	Organization Organization `json:"organization"`
}

OrganizationEnvelope defines model for OrganizationEnvelope.

type OrganizationID

type OrganizationID = openapi_types.UUID

OrganizationID defines model for OrganizationID.

type OrganizationInvitation

type OrganizationInvitation struct {
	Email     openapi_types.Email `json:"email"`
	ExpiresAt time.Time           `json:"expires_at"`
	Id        openapi_types.UUID  `json:"id"`
	InviteUrl *string             `json:"invite_url,omitempty"`

	// Metadata Opaque application metadata stored with the invitation.
	Metadata       map[string]interface{}       `json:"metadata"`
	OrganizationId openapi_types.UUID           `json:"organization_id"`
	Role           OrganizationRole             `json:"role"`
	Status         OrganizationInvitationStatus `json:"status"`
}

OrganizationInvitation defines model for OrganizationInvitation.

type OrganizationInvitationEnvelope

type OrganizationInvitationEnvelope struct {
	Invitation OrganizationInvitation `json:"invitation"`
}

OrganizationInvitationEnvelope defines model for OrganizationInvitationEnvelope.

type OrganizationInvitationRole added in v0.11.0

type OrganizationInvitationRole string

OrganizationInvitationRole Authara organization role granted when the invitation is accepted. Owner is reserved for the organization creator.

const (
	OrganizationInvitationRoleAdmin  OrganizationInvitationRole = "admin"
	OrganizationInvitationRoleMember OrganizationInvitationRole = "member"
)

Defines values for OrganizationInvitationRole.

func (OrganizationInvitationRole) Valid added in v0.11.0

func (e OrganizationInvitationRole) Valid() bool

Valid indicates whether the value is a known member of the OrganizationInvitationRole enum.

type OrganizationInvitationStatus

type OrganizationInvitationStatus string

OrganizationInvitationStatus defines model for OrganizationInvitation.Status.

const (
	Accepted OrganizationInvitationStatus = "accepted"
	Expired  OrganizationInvitationStatus = "expired"
	Pending  OrganizationInvitationStatus = "pending"
	Revoked  OrganizationInvitationStatus = "revoked"
)

Defines values for OrganizationInvitationStatus.

func (OrganizationInvitationStatus) Valid

Valid indicates whether the value is a known member of the OrganizationInvitationStatus enum.

type OrganizationInvitations

type OrganizationInvitations struct {
	Invitations []OrganizationInvitation `json:"invitations"`
}

OrganizationInvitations defines model for OrganizationInvitations.

type OrganizationKind

type OrganizationKind string

OrganizationKind defines model for Organization.Kind.

const (
	OrganizationKindPersonal OrganizationKind = "personal"
	OrganizationKindTeam     OrganizationKind = "team"
)

Defines values for OrganizationKind.

func (OrganizationKind) Valid

func (e OrganizationKind) Valid() bool

Valid indicates whether the value is a known member of the OrganizationKind enum.

type OrganizationMember

type OrganizationMember struct {
	CreatedAt      time.Time           `json:"created_at"`
	Disabled       bool                `json:"disabled"`
	Email          openapi_types.Email `json:"email"`
	OrganizationId openapi_types.UUID  `json:"organization_id"`
	Role           OrganizationRole    `json:"role"`
	UpdatedAt      time.Time           `json:"updated_at"`
	UserId         openapi_types.UUID  `json:"user_id"`
	Username       string              `json:"username"`
}

OrganizationMember defines model for OrganizationMember.

type OrganizationMemberEnvelope

type OrganizationMemberEnvelope struct {
	Member OrganizationMember `json:"member"`
}

OrganizationMemberEnvelope defines model for OrganizationMemberEnvelope.

type OrganizationMembers

type OrganizationMembers struct {
	Members []OrganizationMember `json:"members"`
}

OrganizationMembers defines model for OrganizationMembers.

type OrganizationRole

type OrganizationRole string

OrganizationRole defines model for OrganizationRole.

const (
	OrganizationRoleAdmin  OrganizationRole = "admin"
	OrganizationRoleMember OrganizationRole = "member"
	OrganizationRoleOwner  OrganizationRole = "owner"
)

Defines values for OrganizationRole.

func (OrganizationRole) Valid

func (e OrganizationRole) Valid() bool

Valid indicates whether the value is a known member of the OrganizationRole enum.

type OrganizationSummaries

type OrganizationSummaries struct {
	Organizations []OrganizationSummary `json:"organizations"`
}

OrganizationSummaries defines model for OrganizationSummaries.

type OrganizationSummary

type OrganizationSummary struct {
	Id   openapi_types.UUID `json:"id"`
	Name string             `json:"name"`
	Role OrganizationRole   `json:"role"`
}

OrganizationSummary defines model for OrganizationSummary.

type OrganizationWithMembership

type OrganizationWithMembership struct {
	Membership   Membership   `json:"membership"`
	Organization Organization `json:"organization"`
}

OrganizationWithMembership defines model for OrganizationWithMembership.

type PasskeyAuthenticationFinishRequest

type PasskeyAuthenticationFinishRequest struct {
	ChallengeId openapi_types.UUID     `json:"challenge_id"`
	Credential  map[string]interface{} `json:"credential"`
}

PasskeyAuthenticationFinishRequest defines model for PasskeyAuthenticationFinishRequest.

type PasskeyID added in v0.16.0

type PasskeyID = openapi_types.UUID

PasskeyID defines model for PasskeyID.

type PasskeyOptions

type PasskeyOptions struct {
	ChallengeId openapi_types.UUID     `json:"challenge_id"`
	Options     map[string]interface{} `json:"options"`
}

PasskeyOptions defines model for PasskeyOptions.

type PasskeyRegistrationFinishRequest

type PasskeyRegistrationFinishRequest struct {
	ChallengeId  openapi_types.UUID     `json:"challenge_id"`
	Credential   map[string]interface{} `json:"credential"`
	Name         *string                `json:"name,omitempty"`
	PlatformHint *string                `json:"platform_hint,omitempty"`
}

PasskeyRegistrationFinishRequest defines model for PasskeyRegistrationFinishRequest.

type PasswordLoginRequest

type PasswordLoginRequest struct {
	// Identifier The user's email address, or username when AUTHARA_USERNAME_LOGIN_ENABLED=true.
	Identifier string `json:"identifier"`
	Password   string `json:"password"`
}

PasswordLoginRequest defines model for PasswordLoginRequest.

type PasswordResetChallengeVerification added in v0.12.0

type PasswordResetChallengeVerification struct {
	ChallengeId openapi_types.UUID `json:"challenge_id"`
	Code        string             `json:"code"`
}

PasswordResetChallengeVerification defines model for PasswordResetChallengeVerification.

type PasswordResetRequest added in v0.12.0

type PasswordResetRequest struct {
	Email       openapi_types.Email `json:"email"`
	NewPassword string              `json:"new_password"`
}

PasswordResetRequest defines model for PasswordResetRequest.

type PreviewInvitation200JSONResponse added in v0.16.0

type PreviewInvitation200JSONResponse InvitationPreview

func (PreviewInvitation200JSONResponse) VisitPreviewInvitationResponse added in v0.16.0

func (response PreviewInvitation200JSONResponse) VisitPreviewInvitationResponse(w http.ResponseWriter) error

type PreviewInvitation400JSONResponse added in v0.16.0

type PreviewInvitation400JSONResponse struct{ ErrorJSONResponse }

func (PreviewInvitation400JSONResponse) VisitPreviewInvitationResponse added in v0.16.0

func (response PreviewInvitation400JSONResponse) VisitPreviewInvitationResponse(w http.ResponseWriter) error

type PreviewInvitation403JSONResponse added in v0.16.0

type PreviewInvitation403JSONResponse ErrorResponse

func (PreviewInvitation403JSONResponse) VisitPreviewInvitationResponse added in v0.16.0

func (response PreviewInvitation403JSONResponse) VisitPreviewInvitationResponse(w http.ResponseWriter) error

type PreviewInvitation404JSONResponse added in v0.16.0

type PreviewInvitation404JSONResponse ErrorResponse

func (PreviewInvitation404JSONResponse) VisitPreviewInvitationResponse added in v0.16.0

func (response PreviewInvitation404JSONResponse) VisitPreviewInvitationResponse(w http.ResponseWriter) error

type PreviewInvitation500JSONResponse added in v0.16.0

type PreviewInvitation500JSONResponse ErrorResponse

func (PreviewInvitation500JSONResponse) VisitPreviewInvitationResponse added in v0.16.0

func (response PreviewInvitation500JSONResponse) VisitPreviewInvitationResponse(w http.ResponseWriter) error

type PreviewInvitationParams added in v0.16.0

type PreviewInvitationParams struct {
	Token string `form:"token" json:"token"`
}

PreviewInvitationParams defines parameters for PreviewInvitation.

type PreviewInvitationRequestObject added in v0.16.0

type PreviewInvitationRequestObject struct {
	Params PreviewInvitationParams
}

type PreviewInvitationResponseObject added in v0.16.0

type PreviewInvitationResponseObject interface {
	VisitPreviewInvitationResponse(w http.ResponseWriter) error
}

type ProviderLinkID added in v0.16.0

type ProviderLinkID = openapi_types.UUID

ProviderLinkID defines model for ProviderLinkID.

type RefreshSession200HeadersResponse

type RefreshSession200HeadersResponse struct {
	Header http.Header
}

func (RefreshSession200HeadersResponse) VisitRefreshSessionResponse

func (r RefreshSession200HeadersResponse) VisitRefreshSessionResponse(w http.ResponseWriter) error

type RefreshSession200Response

type RefreshSession200Response struct {
}

func (RefreshSession200Response) VisitRefreshSessionResponse

func (response RefreshSession200Response) VisitRefreshSessionResponse(w http.ResponseWriter) error

type RefreshSession400JSONResponse

type RefreshSession400JSONResponse struct{ ErrorJSONResponse }

func (RefreshSession400JSONResponse) VisitRefreshSessionResponse

func (response RefreshSession400JSONResponse) VisitRefreshSessionResponse(w http.ResponseWriter) error

type RefreshSession401HeadersResponse

type RefreshSession401HeadersResponse struct {
	Header http.Header
	Body   ErrorResponse
}

func (RefreshSession401HeadersResponse) VisitRefreshSessionResponse

func (r RefreshSession401HeadersResponse) VisitRefreshSessionResponse(w http.ResponseWriter) error

type RefreshSession401JSONResponse

type RefreshSession401JSONResponse ErrorResponse

func (RefreshSession401JSONResponse) VisitRefreshSessionResponse

func (response RefreshSession401JSONResponse) VisitRefreshSessionResponse(w http.ResponseWriter) error

type RefreshSession500JSONResponse

type RefreshSession500JSONResponse ErrorResponse

func (RefreshSession500JSONResponse) VisitRefreshSessionResponse

func (response RefreshSession500JSONResponse) VisitRefreshSessionResponse(w http.ResponseWriter) error

type RefreshSessionParams

type RefreshSessionParams struct {
	Audience *RefreshSessionParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

RefreshSessionParams defines parameters for RefreshSession.

type RefreshSessionParamsAudience

type RefreshSessionParamsAudience string

RefreshSessionParamsAudience defines parameters for RefreshSession.

const (
	RefreshSessionParamsAudienceAdmin RefreshSessionParamsAudience = "admin"
	RefreshSessionParamsAudienceApp   RefreshSessionParamsAudience = "app"
)

Defines values for RefreshSessionParamsAudience.

func (RefreshSessionParamsAudience) Valid

Valid indicates whether the value is a known member of the RefreshSessionParamsAudience enum.

type RefreshSessionRequestObject

type RefreshSessionRequestObject struct {
	Params RefreshSessionParams
}

type RefreshSessionResponseObject

type RefreshSessionResponseObject interface {
	VisitRefreshSessionResponse(w http.ResponseWriter) error
}

type RefreshTokens200JSONResponse

type RefreshTokens200JSONResponse Tokens

func (RefreshTokens200JSONResponse) VisitRefreshTokensResponse

func (response RefreshTokens200JSONResponse) VisitRefreshTokensResponse(w http.ResponseWriter) error

type RefreshTokens400JSONResponse

type RefreshTokens400JSONResponse struct{ ErrorJSONResponse }

func (RefreshTokens400JSONResponse) VisitRefreshTokensResponse

func (response RefreshTokens400JSONResponse) VisitRefreshTokensResponse(w http.ResponseWriter) error

type RefreshTokens401JSONResponse

type RefreshTokens401JSONResponse ErrorResponse

func (RefreshTokens401JSONResponse) VisitRefreshTokensResponse

func (response RefreshTokens401JSONResponse) VisitRefreshTokensResponse(w http.ResponseWriter) error

type RefreshTokens500JSONResponse

type RefreshTokens500JSONResponse ErrorResponse

func (RefreshTokens500JSONResponse) VisitRefreshTokensResponse

func (response RefreshTokens500JSONResponse) VisitRefreshTokensResponse(w http.ResponseWriter) error

type RefreshTokensJSONRequestBody

type RefreshTokensJSONRequestBody = TokenRefreshRequest

RefreshTokensJSONRequestBody defines body for RefreshTokens for application/json ContentType.

type RefreshTokensRequestObject

type RefreshTokensRequestObject struct {
	Body *RefreshTokensJSONRequestBody
}

type RefreshTokensResponseObject

type RefreshTokensResponseObject interface {
	VisitRefreshTokensResponse(w http.ResponseWriter) error
}

type RemoveInternalOrganizationMember204Response added in v0.14.0

type RemoveInternalOrganizationMember204Response struct {
}

func (RemoveInternalOrganizationMember204Response) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember204Response) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMember400JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember400JSONResponse struct{ ErrorJSONResponse }

func (RemoveInternalOrganizationMember400JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember400JSONResponse) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMember401JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember401JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember401JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember401JSONResponse) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMember403JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember403JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember403JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember403JSONResponse) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMember404JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember404JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember404JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember404JSONResponse) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMember409JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember409JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember409JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember409JSONResponse) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMember500JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember500JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember500JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

func (response RemoveInternalOrganizationMember500JSONResponse) VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error

type RemoveInternalOrganizationMemberJSONRequestBody added in v0.14.0

type RemoveInternalOrganizationMemberJSONRequestBody = InternalOrganizationActorRequest

RemoveInternalOrganizationMemberJSONRequestBody defines body for RemoveInternalOrganizationMember for application/json ContentType.

type RemoveInternalOrganizationMemberRequestObject added in v0.14.0

type RemoveInternalOrganizationMemberRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	UserID         UserID         `json:"userID"`
	Body           *RemoveInternalOrganizationMemberJSONRequestBody
}

type RemoveInternalOrganizationMemberResponseObject added in v0.14.0

type RemoveInternalOrganizationMemberResponseObject interface {
	VisitRemoveInternalOrganizationMemberResponse(w http.ResponseWriter) error
}

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResendChallenge204Response

type ResendChallenge204Response struct {
}

func (ResendChallenge204Response) VisitResendChallengeResponse

func (response ResendChallenge204Response) VisitResendChallengeResponse(w http.ResponseWriter) error

type ResendChallenge400JSONResponse

type ResendChallenge400JSONResponse struct{ ErrorJSONResponse }

func (ResendChallenge400JSONResponse) VisitResendChallengeResponse

func (response ResendChallenge400JSONResponse) VisitResendChallengeResponse(w http.ResponseWriter) error

type ResendChallenge403JSONResponse

type ResendChallenge403JSONResponse ErrorResponse

func (ResendChallenge403JSONResponse) VisitResendChallengeResponse

func (response ResendChallenge403JSONResponse) VisitResendChallengeResponse(w http.ResponseWriter) error

type ResendChallenge429JSONResponse

type ResendChallenge429JSONResponse ErrorResponse

func (ResendChallenge429JSONResponse) VisitResendChallengeResponse

func (response ResendChallenge429JSONResponse) VisitResendChallengeResponse(w http.ResponseWriter) error

type ResendChallenge500JSONResponse

type ResendChallenge500JSONResponse ErrorResponse

func (ResendChallenge500JSONResponse) VisitResendChallengeResponse

func (response ResendChallenge500JSONResponse) VisitResendChallengeResponse(w http.ResponseWriter) error

type ResendChallengeJSONRequestBody

type ResendChallengeJSONRequestBody = ChallengeReference

ResendChallengeJSONRequestBody defines body for ResendChallenge for application/json ContentType.

type ResendChallengeRequestObject

type ResendChallengeRequestObject struct {
	Body *ResendChallengeJSONRequestBody
}

type ResendChallengeResponseObject

type ResendChallengeResponseObject interface {
	VisitResendChallengeResponse(w http.ResponseWriter) error
}

type ResendInternalOrganizationInvitation201JSONResponse

type ResendInternalOrganizationInvitation201JSONResponse OrganizationInvitationEnvelope

func (ResendInternalOrganizationInvitation201JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation201JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitation400JSONResponse

type ResendInternalOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (ResendInternalOrganizationInvitation400JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation400JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitation401JSONResponse

type ResendInternalOrganizationInvitation401JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation401JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation401JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitation403JSONResponse

type ResendInternalOrganizationInvitation403JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation403JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation403JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitation404JSONResponse

type ResendInternalOrganizationInvitation404JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation404JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation404JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitation409JSONResponse

type ResendInternalOrganizationInvitation409JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation409JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation409JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitation500JSONResponse

type ResendInternalOrganizationInvitation500JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation500JSONResponse) VisitResendInternalOrganizationInvitationResponse

func (response ResendInternalOrganizationInvitation500JSONResponse) VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error

type ResendInternalOrganizationInvitationRequestObject

type ResendInternalOrganizationInvitationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	InvitationID   InvitationID   `json:"invitationID"`
}

type ResendInternalOrganizationInvitationResponseObject

type ResendInternalOrganizationInvitationResponseObject interface {
	VisitResendInternalOrganizationInvitationResponse(w http.ResponseWriter) error
}

type Response

type Response struct {
	Status int
	Header http.Header
	Body   any
}

func Empty

func Empty(status int, headers ...http.Header) Response

func ErrorJSON

func ErrorJSON(status int, code response.ErrorCode, message string) Response

func InternalError

func InternalError() Response

func JSON

func JSON(status int, body any, headers ...http.Header) Response

func NoContent

func NoContent(headers ...http.Header) Response

func (Response) Write

func (r Response) Write(w http.ResponseWriter) error

type RevokeCurrentUserOtherSessions204Response added in v0.16.0

type RevokeCurrentUserOtherSessions204Response struct {
}

func (RevokeCurrentUserOtherSessions204Response) VisitRevokeCurrentUserOtherSessionsResponse added in v0.16.0

func (response RevokeCurrentUserOtherSessions204Response) VisitRevokeCurrentUserOtherSessionsResponse(w http.ResponseWriter) error

type RevokeCurrentUserOtherSessions401JSONResponse added in v0.16.0

type RevokeCurrentUserOtherSessions401JSONResponse struct{ ErrorJSONResponse }

func (RevokeCurrentUserOtherSessions401JSONResponse) VisitRevokeCurrentUserOtherSessionsResponse added in v0.16.0

func (response RevokeCurrentUserOtherSessions401JSONResponse) VisitRevokeCurrentUserOtherSessionsResponse(w http.ResponseWriter) error

type RevokeCurrentUserOtherSessions403JSONResponse added in v0.16.0

type RevokeCurrentUserOtherSessions403JSONResponse ErrorResponse

func (RevokeCurrentUserOtherSessions403JSONResponse) VisitRevokeCurrentUserOtherSessionsResponse added in v0.16.0

func (response RevokeCurrentUserOtherSessions403JSONResponse) VisitRevokeCurrentUserOtherSessionsResponse(w http.ResponseWriter) error

type RevokeCurrentUserOtherSessions500JSONResponse added in v0.16.0

type RevokeCurrentUserOtherSessions500JSONResponse ErrorResponse

func (RevokeCurrentUserOtherSessions500JSONResponse) VisitRevokeCurrentUserOtherSessionsResponse added in v0.16.0

func (response RevokeCurrentUserOtherSessions500JSONResponse) VisitRevokeCurrentUserOtherSessionsResponse(w http.ResponseWriter) error

type RevokeCurrentUserOtherSessionsRequestObject added in v0.16.0

type RevokeCurrentUserOtherSessionsRequestObject struct {
}

type RevokeCurrentUserOtherSessionsResponseObject added in v0.16.0

type RevokeCurrentUserOtherSessionsResponseObject interface {
	VisitRevokeCurrentUserOtherSessionsResponse(w http.ResponseWriter) error
}

type RevokeCurrentUserSession204Response added in v0.16.0

type RevokeCurrentUserSession204Response struct {
}

func (RevokeCurrentUserSession204Response) VisitRevokeCurrentUserSessionResponse added in v0.16.0

func (response RevokeCurrentUserSession204Response) VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error

type RevokeCurrentUserSession400JSONResponse added in v0.16.0

type RevokeCurrentUserSession400JSONResponse struct{ ErrorJSONResponse }

func (RevokeCurrentUserSession400JSONResponse) VisitRevokeCurrentUserSessionResponse added in v0.16.0

func (response RevokeCurrentUserSession400JSONResponse) VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error

type RevokeCurrentUserSession401JSONResponse added in v0.16.0

type RevokeCurrentUserSession401JSONResponse ErrorResponse

func (RevokeCurrentUserSession401JSONResponse) VisitRevokeCurrentUserSessionResponse added in v0.16.0

func (response RevokeCurrentUserSession401JSONResponse) VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error

type RevokeCurrentUserSession403JSONResponse added in v0.16.0

type RevokeCurrentUserSession403JSONResponse ErrorResponse

func (RevokeCurrentUserSession403JSONResponse) VisitRevokeCurrentUserSessionResponse added in v0.16.0

func (response RevokeCurrentUserSession403JSONResponse) VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error

type RevokeCurrentUserSession404JSONResponse added in v0.16.0

type RevokeCurrentUserSession404JSONResponse ErrorResponse

func (RevokeCurrentUserSession404JSONResponse) VisitRevokeCurrentUserSessionResponse added in v0.16.0

func (response RevokeCurrentUserSession404JSONResponse) VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error

type RevokeCurrentUserSession500JSONResponse added in v0.16.0

type RevokeCurrentUserSession500JSONResponse ErrorResponse

func (RevokeCurrentUserSession500JSONResponse) VisitRevokeCurrentUserSessionResponse added in v0.16.0

func (response RevokeCurrentUserSession500JSONResponse) VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error

type RevokeCurrentUserSessionRequestObject added in v0.16.0

type RevokeCurrentUserSessionRequestObject struct {
	SessionID SessionID `json:"sessionID"`
}

type RevokeCurrentUserSessionResponseObject added in v0.16.0

type RevokeCurrentUserSessionResponseObject interface {
	VisitRevokeCurrentUserSessionResponse(w http.ResponseWriter) error
}

type RevokePublicOrganizationInvitation200JSONResponse

type RevokePublicOrganizationInvitation200JSONResponse OrganizationInvitationEnvelope

func (RevokePublicOrganizationInvitation200JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation200JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitation400JSONResponse

type RevokePublicOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (RevokePublicOrganizationInvitation400JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation400JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitation401JSONResponse

type RevokePublicOrganizationInvitation401JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation401JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation401JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitation403JSONResponse

type RevokePublicOrganizationInvitation403JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation403JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation403JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitation404JSONResponse

type RevokePublicOrganizationInvitation404JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation404JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation404JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitation409JSONResponse

type RevokePublicOrganizationInvitation409JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation409JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation409JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitation500JSONResponse

type RevokePublicOrganizationInvitation500JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation500JSONResponse) VisitRevokePublicOrganizationInvitationResponse

func (response RevokePublicOrganizationInvitation500JSONResponse) VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error

type RevokePublicOrganizationInvitationRequestObject

type RevokePublicOrganizationInvitationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	InvitationID   InvitationID   `json:"invitationID"`
}

type RevokePublicOrganizationInvitationResponseObject

type RevokePublicOrganizationInvitationResponseObject interface {
	VisitRevokePublicOrganizationInvitationResponse(w http.ResponseWriter) error
}

type ServerInterface

type ServerInterface interface {
	// GetCurrentAccount Get the authenticated user's account
	// (GET /auth/api/v1/account)
	GetCurrentAccount(w http.ResponseWriter, r *http.Request)
	// LinkCurrentUserGoogle Link Google to the authenticated user's account
	// (POST /auth/api/v1/account/auth-methods/google)
	LinkCurrentUserGoogle(w http.ResponseWriter, r *http.Request)
	// UnlinkCurrentUserAuthMethod Unlink an authentication method from the authenticated user's account
	// (DELETE /auth/api/v1/account/auth-methods/{provider})
	UnlinkCurrentUserAuthMethod(w http.ResponseWriter, r *http.Request, provider AuthProvider)
	// StartCurrentUserEmailChange Start an email change challenge
	// (POST /auth/api/v1/account/email-change/challenges)
	StartCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)
	// VerifyCurrentUserEmailChange Verify an email change challenge
	// (POST /auth/api/v1/account/email-change/challenges/verify)
	VerifyCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)
	// DeleteCurrentUserPasskey Delete a passkey from the authenticated user's account
	// (DELETE /auth/api/v1/account/passkeys/{passkeyID})
	DeleteCurrentUserPasskey(w http.ResponseWriter, r *http.Request, passkeyID PasskeyID)
	// AddCurrentUserPassword Add password authentication to the authenticated user's account
	// (POST /auth/api/v1/account/password)
	AddCurrentUserPassword(w http.ResponseWriter, r *http.Request)
	// ChangeCurrentUserPassword Change the authenticated user's password
	// (PUT /auth/api/v1/account/password)
	ChangeCurrentUserPassword(w http.ResponseWriter, r *http.Request)
	// RevokeCurrentUserOtherSessions Revoke all sessions except the current session
	// (DELETE /auth/api/v1/account/sessions/others)
	RevokeCurrentUserOtherSessions(w http.ResponseWriter, r *http.Request)
	// RevokeCurrentUserSession Revoke one of the authenticated user's sessions
	// (DELETE /auth/api/v1/account/sessions/{sessionID})
	RevokeCurrentUserSession(w http.ResponseWriter, r *http.Request, sessionID SessionID)
	// ChangeCurrentUsername Change the authenticated user's username
	// (PATCH /auth/api/v1/account/username)
	ChangeCurrentUsername(w http.ResponseWriter, r *http.Request)
	// GetPublicCapabilities Get organization capabilities
	// (GET /auth/api/v1/capabilities)
	GetPublicCapabilities(w http.ResponseWriter, r *http.Request)
	// ResendChallenge Request another challenge verification code
	// (POST /auth/api/v1/challenges/resend)
	ResendChallenge(w http.ResponseWriter, r *http.Request)
	// GetCsrfToken Get a CSRF token
	// (GET /auth/api/v1/csrf)
	GetCsrfToken(w http.ResponseWriter, r *http.Request)
	// AcceptInvitation Accept an invitation and switch the current session to its organization
	// (POST /auth/api/v1/invitations/accept)
	AcceptInvitation(w http.ResponseWriter, r *http.Request, params AcceptInvitationParams)
	// AuthenticateAndAcceptInvitationWithGoogle Sign up or log in with Google, accept an invitation, and switch organizations
	// (POST /auth/api/v1/invitations/google)
	AuthenticateAndAcceptInvitationWithGoogle(w http.ResponseWriter, r *http.Request, params AuthenticateAndAcceptInvitationWithGoogleParams)
	// LoginAndAcceptInvitation Log in with a password, accept an invitation, and switch organizations
	// (POST /auth/api/v1/invitations/login)
	LoginAndAcceptInvitation(w http.ResponseWriter, r *http.Request, params LoginAndAcceptInvitationParams)
	// PreviewInvitation Preview an organization invitation
	// (GET /auth/api/v1/invitations/preview)
	PreviewInvitation(w http.ResponseWriter, r *http.Request, params PreviewInvitationParams)
	// LoginWithPassword Log in with a password
	// (POST /auth/api/v1/login)
	LoginWithPassword(w http.ResponseWriter, r *http.Request, params LoginWithPasswordParams)
	// LoginWithGoogle Log in with a Google ID token
	// (POST /auth/api/v1/oauth/google)
	LoginWithGoogle(w http.ResponseWriter, r *http.Request, params LoginWithGoogleParams)
	// GetGoogleLoginOptions Get Google login options
	// (GET /auth/api/v1/oauth/google/options)
	GetGoogleLoginOptions(w http.ResponseWriter, r *http.Request)
	// ListCurrentUserOrganizations List organizations for the authenticated user
	// (GET /auth/api/v1/organizations)
	ListCurrentUserOrganizations(w http.ResponseWriter, r *http.Request)
	// GetCurrentOrganization Get the organization in the current access token
	// (GET /auth/api/v1/organizations/current)
	GetCurrentOrganization(w http.ResponseWriter, r *http.Request)
	// ListCurrentOrganizationMembers List members of the current organization
	// (GET /auth/api/v1/organizations/current/members)
	ListCurrentOrganizationMembers(w http.ResponseWriter, r *http.Request)
	// GetPublicOrganization Get an organization
	// (GET /auth/api/v1/organizations/{organizationID})
	GetPublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// UpdatePublicOrganization Update an organization
	// (PATCH /auth/api/v1/organizations/{organizationID})
	UpdatePublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// ListPublicOrganizationInvitations List organization invitations
	// (GET /auth/api/v1/organizations/{organizationID}/invitations)
	ListPublicOrganizationInvitations(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// GetPublicOrganizationInvitation Get an organization invitation
	// (GET /auth/api/v1/organizations/{organizationID}/invitations/{invitationID})
	GetPublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)
	// RevokePublicOrganizationInvitation Revoke an organization invitation
	// (POST /auth/api/v1/organizations/{organizationID}/invitations/{invitationID}/revoke)
	RevokePublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)
	// ListPublicOrganizationMembers List organization members
	// (GET /auth/api/v1/organizations/{organizationID}/members)
	ListPublicOrganizationMembers(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// GetPublicOrganizationMember Get an organization member
	// (GET /auth/api/v1/organizations/{organizationID}/members/{userID})
	GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
	// SwitchOrganization Switch the current session to another organization
	// (POST /auth/api/v1/organizations/{organizationID}/switch)
	SwitchOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, params SwitchOrganizationParams)
	// FinishPasskeyAuthentication Finish passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/finish)
	FinishPasskeyAuthentication(w http.ResponseWriter, r *http.Request, params FinishPasskeyAuthenticationParams)
	// BeginPasskeyAuthentication Start passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/options)
	BeginPasskeyAuthentication(w http.ResponseWriter, r *http.Request)
	// FinishPasskeyRegistration Finish passkey registration
	// (POST /auth/api/v1/passkeys/register/finish)
	FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)
	// BeginPasskeyRegistration Start passkey registration
	// (POST /auth/api/v1/passkeys/register/options)
	BeginPasskeyRegistration(w http.ResponseWriter, r *http.Request)
	// StartPasswordResetChallenge Start a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges)
	StartPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
	// VerifyPasswordResetChallenge Verify a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges/verify)
	VerifyPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
	// StartGoogleAccountRecoveryLink Start linking Google to an existing account with the same email
	// (POST /auth/api/v1/provider-links/recovery/google)
	StartGoogleAccountRecoveryLink(w http.ResponseWriter, r *http.Request)
	// CompleteAccountRecoveryLinkWithGoogle Prove ownership with an existing Google login and finish linking
	// (POST /auth/api/v1/provider-links/recovery/{linkID}/google)
	CompleteAccountRecoveryLinkWithGoogle(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, params CompleteAccountRecoveryLinkWithGoogleParams)
	// CompleteAccountRecoveryLinkWithPassword Prove ownership with the existing account password and finish linking
	// (POST /auth/api/v1/provider-links/recovery/{linkID}/password)
	CompleteAccountRecoveryLinkWithPassword(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, params CompleteAccountRecoveryLinkWithPasswordParams)
	// Logout Log out the current session
	// (POST /auth/api/v1/sessions/logout)
	Logout(w http.ResponseWriter, r *http.Request)
	// RefreshSession Refresh a cookie-backed session
	// (POST /auth/api/v1/sessions/refresh)
	RefreshSession(w http.ResponseWriter, r *http.Request, params RefreshSessionParams)
	// StartSignupChallenge Start challenge-based signup
	// (POST /auth/api/v1/signup/challenges)
	StartSignupChallenge(w http.ResponseWriter, r *http.Request, params StartSignupChallengeParams)
	// VerifySignupChallenge Verify a signup challenge and create the account
	// (POST /auth/api/v1/signup/challenges/verify)
	VerifySignupChallenge(w http.ResponseWriter, r *http.Request, params VerifySignupChallengeParams)
	// SignupDirect Create an account without a signup challenge
	// (POST /auth/api/v1/signup/direct)
	SignupDirect(w http.ResponseWriter, r *http.Request, params SignupDirectParams)
	// RefreshTokens Refresh tokens supplied in JSON
	// (POST /auth/api/v1/tokens/refresh)
	RefreshTokens(w http.ResponseWriter, r *http.Request)
	// GetCurrentUser Get the authenticated user
	// (GET /auth/api/v1/user)
	GetCurrentUser(w http.ResponseWriter, r *http.Request)
	// SetCurrentUserPassword Set the authenticated user's password
	// (PUT /auth/api/v1/users/password)
	SetCurrentUserPassword(w http.ResponseWriter, r *http.Request)
	// ListPublicUserMemberships List memberships for the authenticated user
	// (GET /auth/api/v1/users/{userID}/memberships)
	ListPublicUserMemberships(w http.ResponseWriter, r *http.Request, userID UserID)
	// CreateInternalOrganization Create a team organization
	// (POST /auth/internal/v1/organizations)
	CreateInternalOrganization(w http.ResponseWriter, r *http.Request)
	// DeleteInternalOrganization Delete a team organization
	// (DELETE /auth/internal/v1/organizations/{organizationID})
	DeleteInternalOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// CreateInternalOrganizationInvitation Create an organization invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations)
	CreateInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// ResendInternalOrganizationInvitation Replace an organization invitation with a fresh invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations/{invitationID}/resend)
	ResendInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)
	// RemoveInternalOrganizationMember Remove an organization member
	// (DELETE /auth/internal/v1/organizations/{organizationID}/members/{userID})
	RemoveInternalOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
	// TransferInternalOrganizationOwnership Transfer organization ownership
	// (POST /auth/internal/v1/organizations/{organizationID}/ownership-transfer)
	TransferInternalOrganizationOwnership(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// DeleteInternalUser Delete a user
	// (DELETE /auth/internal/v1/users/{userID})
	DeleteInternalUser(w http.ResponseWriter, r *http.Request, userID UserID)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AcceptInvitation added in v0.16.0

func (siw *ServerInterfaceWrapper) AcceptInvitation(w http.ResponseWriter, r *http.Request)

AcceptInvitation operation middleware

func (*ServerInterfaceWrapper) AddCurrentUserPassword added in v0.16.0

func (siw *ServerInterfaceWrapper) AddCurrentUserPassword(w http.ResponseWriter, r *http.Request)

AddCurrentUserPassword operation middleware

func (*ServerInterfaceWrapper) AuthenticateAndAcceptInvitationWithGoogle added in v0.16.0

func (siw *ServerInterfaceWrapper) AuthenticateAndAcceptInvitationWithGoogle(w http.ResponseWriter, r *http.Request)

AuthenticateAndAcceptInvitationWithGoogle operation middleware

func (*ServerInterfaceWrapper) BeginPasskeyAuthentication

func (siw *ServerInterfaceWrapper) BeginPasskeyAuthentication(w http.ResponseWriter, r *http.Request)

BeginPasskeyAuthentication operation middleware

func (*ServerInterfaceWrapper) BeginPasskeyRegistration

func (siw *ServerInterfaceWrapper) BeginPasskeyRegistration(w http.ResponseWriter, r *http.Request)

BeginPasskeyRegistration operation middleware

func (*ServerInterfaceWrapper) ChangeCurrentUserPassword added in v0.16.0

func (siw *ServerInterfaceWrapper) ChangeCurrentUserPassword(w http.ResponseWriter, r *http.Request)

ChangeCurrentUserPassword operation middleware

func (*ServerInterfaceWrapper) ChangeCurrentUsername added in v0.16.0

func (siw *ServerInterfaceWrapper) ChangeCurrentUsername(w http.ResponseWriter, r *http.Request)

ChangeCurrentUsername operation middleware

func (*ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithGoogle added in v0.16.0

func (siw *ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithGoogle(w http.ResponseWriter, r *http.Request)

CompleteAccountRecoveryLinkWithGoogle operation middleware

func (*ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithPassword added in v0.16.0

func (siw *ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithPassword(w http.ResponseWriter, r *http.Request)

CompleteAccountRecoveryLinkWithPassword operation middleware

func (*ServerInterfaceWrapper) CreateInternalOrganization

func (siw *ServerInterfaceWrapper) CreateInternalOrganization(w http.ResponseWriter, r *http.Request)

CreateInternalOrganization operation middleware

func (*ServerInterfaceWrapper) CreateInternalOrganizationInvitation

func (siw *ServerInterfaceWrapper) CreateInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request)

CreateInternalOrganizationInvitation operation middleware

func (*ServerInterfaceWrapper) DeleteCurrentUserPasskey added in v0.16.0

func (siw *ServerInterfaceWrapper) DeleteCurrentUserPasskey(w http.ResponseWriter, r *http.Request)

DeleteCurrentUserPasskey operation middleware

func (*ServerInterfaceWrapper) DeleteInternalOrganization added in v0.14.0

func (siw *ServerInterfaceWrapper) DeleteInternalOrganization(w http.ResponseWriter, r *http.Request)

DeleteInternalOrganization operation middleware

func (*ServerInterfaceWrapper) DeleteInternalUser added in v0.14.0

func (siw *ServerInterfaceWrapper) DeleteInternalUser(w http.ResponseWriter, r *http.Request)

DeleteInternalUser operation middleware

func (*ServerInterfaceWrapper) FinishPasskeyAuthentication

func (siw *ServerInterfaceWrapper) FinishPasskeyAuthentication(w http.ResponseWriter, r *http.Request)

FinishPasskeyAuthentication operation middleware

func (*ServerInterfaceWrapper) FinishPasskeyRegistration

func (siw *ServerInterfaceWrapper) FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)

FinishPasskeyRegistration operation middleware

func (*ServerInterfaceWrapper) GetCsrfToken

func (siw *ServerInterfaceWrapper) GetCsrfToken(w http.ResponseWriter, r *http.Request)

GetCsrfToken operation middleware

func (*ServerInterfaceWrapper) GetCurrentAccount added in v0.16.0

func (siw *ServerInterfaceWrapper) GetCurrentAccount(w http.ResponseWriter, r *http.Request)

GetCurrentAccount operation middleware

func (*ServerInterfaceWrapper) GetCurrentOrganization

func (siw *ServerInterfaceWrapper) GetCurrentOrganization(w http.ResponseWriter, r *http.Request)

GetCurrentOrganization operation middleware

func (*ServerInterfaceWrapper) GetCurrentUser

func (siw *ServerInterfaceWrapper) GetCurrentUser(w http.ResponseWriter, r *http.Request)

GetCurrentUser operation middleware

func (*ServerInterfaceWrapper) GetGoogleLoginOptions

func (siw *ServerInterfaceWrapper) GetGoogleLoginOptions(w http.ResponseWriter, r *http.Request)

GetGoogleLoginOptions operation middleware

func (*ServerInterfaceWrapper) GetPublicCapabilities

func (siw *ServerInterfaceWrapper) GetPublicCapabilities(w http.ResponseWriter, r *http.Request)

GetPublicCapabilities operation middleware

func (*ServerInterfaceWrapper) GetPublicOrganization

func (siw *ServerInterfaceWrapper) GetPublicOrganization(w http.ResponseWriter, r *http.Request)

GetPublicOrganization operation middleware

func (*ServerInterfaceWrapper) GetPublicOrganizationInvitation

func (siw *ServerInterfaceWrapper) GetPublicOrganizationInvitation(w http.ResponseWriter, r *http.Request)

GetPublicOrganizationInvitation operation middleware

func (*ServerInterfaceWrapper) GetPublicOrganizationMember

func (siw *ServerInterfaceWrapper) GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request)

GetPublicOrganizationMember operation middleware

func (*ServerInterfaceWrapper) LinkCurrentUserGoogle added in v0.16.0

func (siw *ServerInterfaceWrapper) LinkCurrentUserGoogle(w http.ResponseWriter, r *http.Request)

LinkCurrentUserGoogle operation middleware

func (*ServerInterfaceWrapper) ListCurrentOrganizationMembers

func (siw *ServerInterfaceWrapper) ListCurrentOrganizationMembers(w http.ResponseWriter, r *http.Request)

ListCurrentOrganizationMembers operation middleware

func (*ServerInterfaceWrapper) ListCurrentUserOrganizations

func (siw *ServerInterfaceWrapper) ListCurrentUserOrganizations(w http.ResponseWriter, r *http.Request)

ListCurrentUserOrganizations operation middleware

func (*ServerInterfaceWrapper) ListPublicOrganizationInvitations

func (siw *ServerInterfaceWrapper) ListPublicOrganizationInvitations(w http.ResponseWriter, r *http.Request)

ListPublicOrganizationInvitations operation middleware

func (*ServerInterfaceWrapper) ListPublicOrganizationMembers

func (siw *ServerInterfaceWrapper) ListPublicOrganizationMembers(w http.ResponseWriter, r *http.Request)

ListPublicOrganizationMembers operation middleware

func (*ServerInterfaceWrapper) ListPublicUserMemberships

func (siw *ServerInterfaceWrapper) ListPublicUserMemberships(w http.ResponseWriter, r *http.Request)

ListPublicUserMemberships operation middleware

func (*ServerInterfaceWrapper) LoginAndAcceptInvitation added in v0.16.0

func (siw *ServerInterfaceWrapper) LoginAndAcceptInvitation(w http.ResponseWriter, r *http.Request)

LoginAndAcceptInvitation operation middleware

func (*ServerInterfaceWrapper) LoginWithGoogle

func (siw *ServerInterfaceWrapper) LoginWithGoogle(w http.ResponseWriter, r *http.Request)

LoginWithGoogle operation middleware

func (*ServerInterfaceWrapper) LoginWithPassword

func (siw *ServerInterfaceWrapper) LoginWithPassword(w http.ResponseWriter, r *http.Request)

LoginWithPassword operation middleware

func (*ServerInterfaceWrapper) Logout

Logout operation middleware

func (*ServerInterfaceWrapper) PreviewInvitation added in v0.16.0

func (siw *ServerInterfaceWrapper) PreviewInvitation(w http.ResponseWriter, r *http.Request)

PreviewInvitation operation middleware

func (*ServerInterfaceWrapper) RefreshSession

func (siw *ServerInterfaceWrapper) RefreshSession(w http.ResponseWriter, r *http.Request)

RefreshSession operation middleware

func (*ServerInterfaceWrapper) RefreshTokens

func (siw *ServerInterfaceWrapper) RefreshTokens(w http.ResponseWriter, r *http.Request)

RefreshTokens operation middleware

func (*ServerInterfaceWrapper) RemoveInternalOrganizationMember added in v0.14.0

func (siw *ServerInterfaceWrapper) RemoveInternalOrganizationMember(w http.ResponseWriter, r *http.Request)

RemoveInternalOrganizationMember operation middleware

func (*ServerInterfaceWrapper) ResendChallenge

func (siw *ServerInterfaceWrapper) ResendChallenge(w http.ResponseWriter, r *http.Request)

ResendChallenge operation middleware

func (*ServerInterfaceWrapper) ResendInternalOrganizationInvitation

func (siw *ServerInterfaceWrapper) ResendInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request)

ResendInternalOrganizationInvitation operation middleware

func (*ServerInterfaceWrapper) RevokeCurrentUserOtherSessions added in v0.16.0

func (siw *ServerInterfaceWrapper) RevokeCurrentUserOtherSessions(w http.ResponseWriter, r *http.Request)

RevokeCurrentUserOtherSessions operation middleware

func (*ServerInterfaceWrapper) RevokeCurrentUserSession added in v0.16.0

func (siw *ServerInterfaceWrapper) RevokeCurrentUserSession(w http.ResponseWriter, r *http.Request)

RevokeCurrentUserSession operation middleware

func (*ServerInterfaceWrapper) RevokePublicOrganizationInvitation

func (siw *ServerInterfaceWrapper) RevokePublicOrganizationInvitation(w http.ResponseWriter, r *http.Request)

RevokePublicOrganizationInvitation operation middleware

func (*ServerInterfaceWrapper) SetCurrentUserPassword added in v0.12.0

func (siw *ServerInterfaceWrapper) SetCurrentUserPassword(w http.ResponseWriter, r *http.Request)

SetCurrentUserPassword operation middleware

func (*ServerInterfaceWrapper) SignupDirect

func (siw *ServerInterfaceWrapper) SignupDirect(w http.ResponseWriter, r *http.Request)

SignupDirect operation middleware

func (*ServerInterfaceWrapper) StartCurrentUserEmailChange added in v0.16.0

func (siw *ServerInterfaceWrapper) StartCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)

StartCurrentUserEmailChange operation middleware

func (siw *ServerInterfaceWrapper) StartGoogleAccountRecoveryLink(w http.ResponseWriter, r *http.Request)

StartGoogleAccountRecoveryLink operation middleware

func (*ServerInterfaceWrapper) StartPasswordResetChallenge added in v0.12.0

func (siw *ServerInterfaceWrapper) StartPasswordResetChallenge(w http.ResponseWriter, r *http.Request)

StartPasswordResetChallenge operation middleware

func (*ServerInterfaceWrapper) StartSignupChallenge

func (siw *ServerInterfaceWrapper) StartSignupChallenge(w http.ResponseWriter, r *http.Request)

StartSignupChallenge operation middleware

func (*ServerInterfaceWrapper) SwitchOrganization

func (siw *ServerInterfaceWrapper) SwitchOrganization(w http.ResponseWriter, r *http.Request)

SwitchOrganization operation middleware

func (*ServerInterfaceWrapper) TransferInternalOrganizationOwnership added in v0.14.0

func (siw *ServerInterfaceWrapper) TransferInternalOrganizationOwnership(w http.ResponseWriter, r *http.Request)

TransferInternalOrganizationOwnership operation middleware

func (*ServerInterfaceWrapper) UnlinkCurrentUserAuthMethod added in v0.16.0

func (siw *ServerInterfaceWrapper) UnlinkCurrentUserAuthMethod(w http.ResponseWriter, r *http.Request)

UnlinkCurrentUserAuthMethod operation middleware

func (*ServerInterfaceWrapper) UpdatePublicOrganization

func (siw *ServerInterfaceWrapper) UpdatePublicOrganization(w http.ResponseWriter, r *http.Request)

UpdatePublicOrganization operation middleware

func (*ServerInterfaceWrapper) VerifyCurrentUserEmailChange added in v0.16.0

func (siw *ServerInterfaceWrapper) VerifyCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)

VerifyCurrentUserEmailChange operation middleware

func (*ServerInterfaceWrapper) VerifyPasswordResetChallenge added in v0.12.0

func (siw *ServerInterfaceWrapper) VerifyPasswordResetChallenge(w http.ResponseWriter, r *http.Request)

VerifyPasswordResetChallenge operation middleware

func (*ServerInterfaceWrapper) VerifySignupChallenge

func (siw *ServerInterfaceWrapper) VerifySignupChallenge(w http.ResponseWriter, r *http.Request)

VerifySignupChallenge operation middleware

type SessionID added in v0.16.0

type SessionID = openapi_types.UUID

SessionID defines model for SessionID.

type SetCurrentUserPassword204Response added in v0.12.0

type SetCurrentUserPassword204Response struct {
}

func (SetCurrentUserPassword204Response) VisitSetCurrentUserPasswordResponse added in v0.12.0

func (response SetCurrentUserPassword204Response) VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error

type SetCurrentUserPassword400JSONResponse added in v0.12.0

type SetCurrentUserPassword400JSONResponse struct{ ErrorJSONResponse }

func (SetCurrentUserPassword400JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

func (response SetCurrentUserPassword400JSONResponse) VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error

type SetCurrentUserPassword401JSONResponse added in v0.12.0

type SetCurrentUserPassword401JSONResponse ErrorResponse

func (SetCurrentUserPassword401JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

func (response SetCurrentUserPassword401JSONResponse) VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error

type SetCurrentUserPassword403JSONResponse added in v0.12.0

type SetCurrentUserPassword403JSONResponse ErrorResponse

func (SetCurrentUserPassword403JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

func (response SetCurrentUserPassword403JSONResponse) VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error

type SetCurrentUserPassword500JSONResponse added in v0.12.0

type SetCurrentUserPassword500JSONResponse ErrorResponse

func (SetCurrentUserPassword500JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

func (response SetCurrentUserPassword500JSONResponse) VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error

type SetCurrentUserPasswordJSONRequestBody added in v0.12.0

type SetCurrentUserPasswordJSONRequestBody = SetPasswordRequest

SetCurrentUserPasswordJSONRequestBody defines body for SetCurrentUserPassword for application/json ContentType.

type SetCurrentUserPasswordRequestObject added in v0.12.0

type SetCurrentUserPasswordRequestObject struct {
	Body *SetCurrentUserPasswordJSONRequestBody
}

type SetCurrentUserPasswordResponseObject added in v0.12.0

type SetCurrentUserPasswordResponseObject interface {
	VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error
}

type SetPasswordRequest added in v0.12.0

type SetPasswordRequest struct {
	Password string `json:"password"`
}

SetPasswordRequest defines model for SetPasswordRequest.

type SignupChallenge

type SignupChallenge struct {
	ChallengeId openapi_types.UUID `json:"challenge_id"`
}

SignupChallenge defines model for SignupChallenge.

type SignupChallengeVerification

type SignupChallengeVerification struct {
	ChallengeId openapi_types.UUID `json:"challenge_id"`
	Code        string             `json:"code"`
}

SignupChallengeVerification defines model for SignupChallengeVerification.

type SignupDirect201HeadersResponse

type SignupDirect201HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (SignupDirect201HeadersResponse) VisitSignupDirectResponse

func (r SignupDirect201HeadersResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirect201JSONResponse

type SignupDirect201JSONResponse AuthSession

func (SignupDirect201JSONResponse) VisitSignupDirectResponse

func (response SignupDirect201JSONResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirect400JSONResponse

type SignupDirect400JSONResponse struct{ ErrorJSONResponse }

func (SignupDirect400JSONResponse) VisitSignupDirectResponse

func (response SignupDirect400JSONResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirect403JSONResponse

type SignupDirect403JSONResponse ErrorResponse

func (SignupDirect403JSONResponse) VisitSignupDirectResponse

func (response SignupDirect403JSONResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirect404JSONResponse

type SignupDirect404JSONResponse ErrorResponse

func (SignupDirect404JSONResponse) VisitSignupDirectResponse

func (response SignupDirect404JSONResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirect429JSONResponse

type SignupDirect429JSONResponse ErrorResponse

func (SignupDirect429JSONResponse) VisitSignupDirectResponse

func (response SignupDirect429JSONResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirect500JSONResponse

type SignupDirect500JSONResponse ErrorResponse

func (SignupDirect500JSONResponse) VisitSignupDirectResponse

func (response SignupDirect500JSONResponse) VisitSignupDirectResponse(w http.ResponseWriter) error

type SignupDirectJSONRequestBody

type SignupDirectJSONRequestBody = SignupRequest

SignupDirectJSONRequestBody defines body for SignupDirect for application/json ContentType.

type SignupDirectParams

type SignupDirectParams struct {
	Audience *SignupDirectParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

SignupDirectParams defines parameters for SignupDirect.

type SignupDirectParamsAudience

type SignupDirectParamsAudience string

SignupDirectParamsAudience defines parameters for SignupDirect.

const (
	SignupDirectParamsAudienceApp SignupDirectParamsAudience = "app"
)

Defines values for SignupDirectParamsAudience.

func (SignupDirectParamsAudience) Valid

func (e SignupDirectParamsAudience) Valid() bool

Valid indicates whether the value is a known member of the SignupDirectParamsAudience enum.

type SignupDirectRequestObject

type SignupDirectRequestObject struct {
	Params SignupDirectParams
	Body   *SignupDirectJSONRequestBody
}

type SignupDirectResponseObject

type SignupDirectResponseObject interface {
	VisitSignupDirectResponse(w http.ResponseWriter) error
}

type SignupRequest

type SignupRequest struct {
	Email          openapi_types.Email `json:"email"`
	InvitationCode *string             `json:"invitation_code,omitempty"`
	Password       string              `json:"password"`
}

SignupRequest defines model for SignupRequest.

type StartCurrentUserEmailChange202JSONResponse added in v0.16.0

type StartCurrentUserEmailChange202JSONResponse ChallengeReference

func (StartCurrentUserEmailChange202JSONResponse) VisitStartCurrentUserEmailChangeResponse added in v0.16.0

func (response StartCurrentUserEmailChange202JSONResponse) VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type StartCurrentUserEmailChange400JSONResponse added in v0.16.0

type StartCurrentUserEmailChange400JSONResponse struct{ ErrorJSONResponse }

func (StartCurrentUserEmailChange400JSONResponse) VisitStartCurrentUserEmailChangeResponse added in v0.16.0

func (response StartCurrentUserEmailChange400JSONResponse) VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type StartCurrentUserEmailChange401JSONResponse added in v0.16.0

type StartCurrentUserEmailChange401JSONResponse ErrorResponse

func (StartCurrentUserEmailChange401JSONResponse) VisitStartCurrentUserEmailChangeResponse added in v0.16.0

func (response StartCurrentUserEmailChange401JSONResponse) VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type StartCurrentUserEmailChange403JSONResponse added in v0.16.0

type StartCurrentUserEmailChange403JSONResponse ErrorResponse

func (StartCurrentUserEmailChange403JSONResponse) VisitStartCurrentUserEmailChangeResponse added in v0.16.0

func (response StartCurrentUserEmailChange403JSONResponse) VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type StartCurrentUserEmailChange404JSONResponse added in v0.16.0

type StartCurrentUserEmailChange404JSONResponse ErrorResponse

func (StartCurrentUserEmailChange404JSONResponse) VisitStartCurrentUserEmailChangeResponse added in v0.16.0

func (response StartCurrentUserEmailChange404JSONResponse) VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type StartCurrentUserEmailChange500JSONResponse added in v0.16.0

type StartCurrentUserEmailChange500JSONResponse ErrorResponse

func (StartCurrentUserEmailChange500JSONResponse) VisitStartCurrentUserEmailChangeResponse added in v0.16.0

func (response StartCurrentUserEmailChange500JSONResponse) VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type StartCurrentUserEmailChangeJSONRequestBody added in v0.16.0

type StartCurrentUserEmailChangeJSONRequestBody = EmailChangeRequest

StartCurrentUserEmailChangeJSONRequestBody defines body for StartCurrentUserEmailChange for application/json ContentType.

type StartCurrentUserEmailChangeRequestObject added in v0.16.0

type StartCurrentUserEmailChangeRequestObject struct {
	Body *StartCurrentUserEmailChangeJSONRequestBody
}

type StartCurrentUserEmailChangeResponseObject added in v0.16.0

type StartCurrentUserEmailChangeResponseObject interface {
	VisitStartCurrentUserEmailChangeResponse(w http.ResponseWriter) error
}

type StartGoogleAccountRecoveryLink202HeadersResponse added in v0.16.0

type StartGoogleAccountRecoveryLink202HeadersResponse struct {
	Header http.Header
	Body   AccountRecoveryLink
}

func (StartGoogleAccountRecoveryLink202HeadersResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (r StartGoogleAccountRecoveryLink202HeadersResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink202JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink202JSONResponse AccountRecoveryLink

func (StartGoogleAccountRecoveryLink202JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink202JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink400JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink400JSONResponse struct{ ErrorJSONResponse }

func (StartGoogleAccountRecoveryLink400JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink400JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink401JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink401JSONResponse ErrorResponse

func (StartGoogleAccountRecoveryLink401JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink401JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink403JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink403JSONResponse ErrorResponse

func (StartGoogleAccountRecoveryLink403JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink403JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink404JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink404JSONResponse ErrorResponse

func (StartGoogleAccountRecoveryLink404JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink404JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink409JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink409JSONResponse ErrorResponse

func (StartGoogleAccountRecoveryLink409JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink409JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLink500JSONResponse added in v0.16.0

type StartGoogleAccountRecoveryLink500JSONResponse ErrorResponse

func (StartGoogleAccountRecoveryLink500JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse added in v0.16.0

func (response StartGoogleAccountRecoveryLink500JSONResponse) VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error

type StartGoogleAccountRecoveryLinkJSONRequestBody added in v0.16.0

type StartGoogleAccountRecoveryLinkJSONRequestBody = GoogleLoginRequest

StartGoogleAccountRecoveryLinkJSONRequestBody defines body for StartGoogleAccountRecoveryLink for application/json ContentType.

type StartGoogleAccountRecoveryLinkRequestObject added in v0.16.0

type StartGoogleAccountRecoveryLinkRequestObject struct {
	Body *StartGoogleAccountRecoveryLinkJSONRequestBody
}

type StartGoogleAccountRecoveryLinkResponseObject added in v0.16.0

type StartGoogleAccountRecoveryLinkResponseObject interface {
	VisitStartGoogleAccountRecoveryLinkResponse(w http.ResponseWriter) error
}

type StartPasswordResetChallenge202JSONResponse added in v0.12.0

type StartPasswordResetChallenge202JSONResponse ChallengeReference

func (StartPasswordResetChallenge202JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

func (response StartPasswordResetChallenge202JSONResponse) VisitStartPasswordResetChallengeResponse(w http.ResponseWriter) error

type StartPasswordResetChallenge400JSONResponse added in v0.12.0

type StartPasswordResetChallenge400JSONResponse struct{ ErrorJSONResponse }

func (StartPasswordResetChallenge400JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

func (response StartPasswordResetChallenge400JSONResponse) VisitStartPasswordResetChallengeResponse(w http.ResponseWriter) error

type StartPasswordResetChallenge403JSONResponse added in v0.12.0

type StartPasswordResetChallenge403JSONResponse ErrorResponse

func (StartPasswordResetChallenge403JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

func (response StartPasswordResetChallenge403JSONResponse) VisitStartPasswordResetChallengeResponse(w http.ResponseWriter) error

type StartPasswordResetChallenge429JSONResponse added in v0.12.0

type StartPasswordResetChallenge429JSONResponse ErrorResponse

func (StartPasswordResetChallenge429JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

func (response StartPasswordResetChallenge429JSONResponse) VisitStartPasswordResetChallengeResponse(w http.ResponseWriter) error

type StartPasswordResetChallenge500JSONResponse added in v0.12.0

type StartPasswordResetChallenge500JSONResponse ErrorResponse

func (StartPasswordResetChallenge500JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

func (response StartPasswordResetChallenge500JSONResponse) VisitStartPasswordResetChallengeResponse(w http.ResponseWriter) error

type StartPasswordResetChallengeJSONRequestBody added in v0.12.0

type StartPasswordResetChallengeJSONRequestBody = PasswordResetRequest

StartPasswordResetChallengeJSONRequestBody defines body for StartPasswordResetChallenge for application/json ContentType.

type StartPasswordResetChallengeRequestObject added in v0.12.0

type StartPasswordResetChallengeRequestObject struct {
	Body *StartPasswordResetChallengeJSONRequestBody
}

type StartPasswordResetChallengeResponseObject added in v0.12.0

type StartPasswordResetChallengeResponseObject interface {
	VisitStartPasswordResetChallengeResponse(w http.ResponseWriter) error
}

type StartSignupChallenge202JSONResponse

type StartSignupChallenge202JSONResponse SignupChallenge

func (StartSignupChallenge202JSONResponse) VisitStartSignupChallengeResponse

func (response StartSignupChallenge202JSONResponse) VisitStartSignupChallengeResponse(w http.ResponseWriter) error

type StartSignupChallenge400JSONResponse

type StartSignupChallenge400JSONResponse struct{ ErrorJSONResponse }

func (StartSignupChallenge400JSONResponse) VisitStartSignupChallengeResponse

func (response StartSignupChallenge400JSONResponse) VisitStartSignupChallengeResponse(w http.ResponseWriter) error

type StartSignupChallenge403JSONResponse

type StartSignupChallenge403JSONResponse ErrorResponse

func (StartSignupChallenge403JSONResponse) VisitStartSignupChallengeResponse

func (response StartSignupChallenge403JSONResponse) VisitStartSignupChallengeResponse(w http.ResponseWriter) error

type StartSignupChallenge404JSONResponse

type StartSignupChallenge404JSONResponse ErrorResponse

func (StartSignupChallenge404JSONResponse) VisitStartSignupChallengeResponse

func (response StartSignupChallenge404JSONResponse) VisitStartSignupChallengeResponse(w http.ResponseWriter) error

type StartSignupChallenge429JSONResponse

type StartSignupChallenge429JSONResponse ErrorResponse

func (StartSignupChallenge429JSONResponse) VisitStartSignupChallengeResponse

func (response StartSignupChallenge429JSONResponse) VisitStartSignupChallengeResponse(w http.ResponseWriter) error

type StartSignupChallenge500JSONResponse

type StartSignupChallenge500JSONResponse ErrorResponse

func (StartSignupChallenge500JSONResponse) VisitStartSignupChallengeResponse

func (response StartSignupChallenge500JSONResponse) VisitStartSignupChallengeResponse(w http.ResponseWriter) error

type StartSignupChallengeJSONRequestBody

type StartSignupChallengeJSONRequestBody = SignupRequest

StartSignupChallengeJSONRequestBody defines body for StartSignupChallenge for application/json ContentType.

type StartSignupChallengeParams

type StartSignupChallengeParams struct {
	Audience *StartSignupChallengeParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

StartSignupChallengeParams defines parameters for StartSignupChallenge.

type StartSignupChallengeParamsAudience

type StartSignupChallengeParamsAudience string

StartSignupChallengeParamsAudience defines parameters for StartSignupChallenge.

const (
	StartSignupChallengeParamsAudienceApp StartSignupChallengeParamsAudience = "app"
)

Defines values for StartSignupChallengeParamsAudience.

func (StartSignupChallengeParamsAudience) Valid

Valid indicates whether the value is a known member of the StartSignupChallengeParamsAudience enum.

type StartSignupChallengeRequestObject

type StartSignupChallengeRequestObject struct {
	Params StartSignupChallengeParams
	Body   *StartSignupChallengeJSONRequestBody
}

type StartSignupChallengeResponseObject

type StartSignupChallengeResponseObject interface {
	VisitStartSignupChallengeResponse(w http.ResponseWriter) error
}

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHandlerFunc

type StrictHandlerFunc func(ctx context.Context, w http.ResponseWriter, r *http.Request, request any) (any, error)

func CaptureRequest

func CaptureRequest(next StrictHandlerFunc, _ string) StrictHandlerFunc

CaptureRequest keeps the original HTTP request available to strict handler methods while generated.go passes typed request objects.

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// GetCurrentAccount Get the authenticated user's account
	// (GET /auth/api/v1/account)
	GetCurrentAccount(ctx context.Context, request GetCurrentAccountRequestObject) (GetCurrentAccountResponseObject, error)
	// LinkCurrentUserGoogle Link Google to the authenticated user's account
	// (POST /auth/api/v1/account/auth-methods/google)
	LinkCurrentUserGoogle(ctx context.Context, request LinkCurrentUserGoogleRequestObject) (LinkCurrentUserGoogleResponseObject, error)
	// UnlinkCurrentUserAuthMethod Unlink an authentication method from the authenticated user's account
	// (DELETE /auth/api/v1/account/auth-methods/{provider})
	UnlinkCurrentUserAuthMethod(ctx context.Context, request UnlinkCurrentUserAuthMethodRequestObject) (UnlinkCurrentUserAuthMethodResponseObject, error)
	// StartCurrentUserEmailChange Start an email change challenge
	// (POST /auth/api/v1/account/email-change/challenges)
	StartCurrentUserEmailChange(ctx context.Context, request StartCurrentUserEmailChangeRequestObject) (StartCurrentUserEmailChangeResponseObject, error)
	// VerifyCurrentUserEmailChange Verify an email change challenge
	// (POST /auth/api/v1/account/email-change/challenges/verify)
	VerifyCurrentUserEmailChange(ctx context.Context, request VerifyCurrentUserEmailChangeRequestObject) (VerifyCurrentUserEmailChangeResponseObject, error)
	// DeleteCurrentUserPasskey Delete a passkey from the authenticated user's account
	// (DELETE /auth/api/v1/account/passkeys/{passkeyID})
	DeleteCurrentUserPasskey(ctx context.Context, request DeleteCurrentUserPasskeyRequestObject) (DeleteCurrentUserPasskeyResponseObject, error)
	// AddCurrentUserPassword Add password authentication to the authenticated user's account
	// (POST /auth/api/v1/account/password)
	AddCurrentUserPassword(ctx context.Context, request AddCurrentUserPasswordRequestObject) (AddCurrentUserPasswordResponseObject, error)
	// ChangeCurrentUserPassword Change the authenticated user's password
	// (PUT /auth/api/v1/account/password)
	ChangeCurrentUserPassword(ctx context.Context, request ChangeCurrentUserPasswordRequestObject) (ChangeCurrentUserPasswordResponseObject, error)
	// RevokeCurrentUserOtherSessions Revoke all sessions except the current session
	// (DELETE /auth/api/v1/account/sessions/others)
	RevokeCurrentUserOtherSessions(ctx context.Context, request RevokeCurrentUserOtherSessionsRequestObject) (RevokeCurrentUserOtherSessionsResponseObject, error)
	// RevokeCurrentUserSession Revoke one of the authenticated user's sessions
	// (DELETE /auth/api/v1/account/sessions/{sessionID})
	RevokeCurrentUserSession(ctx context.Context, request RevokeCurrentUserSessionRequestObject) (RevokeCurrentUserSessionResponseObject, error)
	// ChangeCurrentUsername Change the authenticated user's username
	// (PATCH /auth/api/v1/account/username)
	ChangeCurrentUsername(ctx context.Context, request ChangeCurrentUsernameRequestObject) (ChangeCurrentUsernameResponseObject, error)
	// GetPublicCapabilities Get organization capabilities
	// (GET /auth/api/v1/capabilities)
	GetPublicCapabilities(ctx context.Context, request GetPublicCapabilitiesRequestObject) (GetPublicCapabilitiesResponseObject, error)
	// ResendChallenge Request another challenge verification code
	// (POST /auth/api/v1/challenges/resend)
	ResendChallenge(ctx context.Context, request ResendChallengeRequestObject) (ResendChallengeResponseObject, error)
	// GetCsrfToken Get a CSRF token
	// (GET /auth/api/v1/csrf)
	GetCsrfToken(ctx context.Context, request GetCsrfTokenRequestObject) (GetCsrfTokenResponseObject, error)
	// AcceptInvitation Accept an invitation and switch the current session to its organization
	// (POST /auth/api/v1/invitations/accept)
	AcceptInvitation(ctx context.Context, request AcceptInvitationRequestObject) (AcceptInvitationResponseObject, error)
	// AuthenticateAndAcceptInvitationWithGoogle Sign up or log in with Google, accept an invitation, and switch organizations
	// (POST /auth/api/v1/invitations/google)
	AuthenticateAndAcceptInvitationWithGoogle(ctx context.Context, request AuthenticateAndAcceptInvitationWithGoogleRequestObject) (AuthenticateAndAcceptInvitationWithGoogleResponseObject, error)
	// LoginAndAcceptInvitation Log in with a password, accept an invitation, and switch organizations
	// (POST /auth/api/v1/invitations/login)
	LoginAndAcceptInvitation(ctx context.Context, request LoginAndAcceptInvitationRequestObject) (LoginAndAcceptInvitationResponseObject, error)
	// PreviewInvitation Preview an organization invitation
	// (GET /auth/api/v1/invitations/preview)
	PreviewInvitation(ctx context.Context, request PreviewInvitationRequestObject) (PreviewInvitationResponseObject, error)
	// LoginWithPassword Log in with a password
	// (POST /auth/api/v1/login)
	LoginWithPassword(ctx context.Context, request LoginWithPasswordRequestObject) (LoginWithPasswordResponseObject, error)
	// LoginWithGoogle Log in with a Google ID token
	// (POST /auth/api/v1/oauth/google)
	LoginWithGoogle(ctx context.Context, request LoginWithGoogleRequestObject) (LoginWithGoogleResponseObject, error)
	// GetGoogleLoginOptions Get Google login options
	// (GET /auth/api/v1/oauth/google/options)
	GetGoogleLoginOptions(ctx context.Context, request GetGoogleLoginOptionsRequestObject) (GetGoogleLoginOptionsResponseObject, error)
	// ListCurrentUserOrganizations List organizations for the authenticated user
	// (GET /auth/api/v1/organizations)
	ListCurrentUserOrganizations(ctx context.Context, request ListCurrentUserOrganizationsRequestObject) (ListCurrentUserOrganizationsResponseObject, error)
	// GetCurrentOrganization Get the organization in the current access token
	// (GET /auth/api/v1/organizations/current)
	GetCurrentOrganization(ctx context.Context, request GetCurrentOrganizationRequestObject) (GetCurrentOrganizationResponseObject, error)
	// ListCurrentOrganizationMembers List members of the current organization
	// (GET /auth/api/v1/organizations/current/members)
	ListCurrentOrganizationMembers(ctx context.Context, request ListCurrentOrganizationMembersRequestObject) (ListCurrentOrganizationMembersResponseObject, error)
	// GetPublicOrganization Get an organization
	// (GET /auth/api/v1/organizations/{organizationID})
	GetPublicOrganization(ctx context.Context, request GetPublicOrganizationRequestObject) (GetPublicOrganizationResponseObject, error)
	// UpdatePublicOrganization Update an organization
	// (PATCH /auth/api/v1/organizations/{organizationID})
	UpdatePublicOrganization(ctx context.Context, request UpdatePublicOrganizationRequestObject) (UpdatePublicOrganizationResponseObject, error)
	// ListPublicOrganizationInvitations List organization invitations
	// (GET /auth/api/v1/organizations/{organizationID}/invitations)
	ListPublicOrganizationInvitations(ctx context.Context, request ListPublicOrganizationInvitationsRequestObject) (ListPublicOrganizationInvitationsResponseObject, error)
	// GetPublicOrganizationInvitation Get an organization invitation
	// (GET /auth/api/v1/organizations/{organizationID}/invitations/{invitationID})
	GetPublicOrganizationInvitation(ctx context.Context, request GetPublicOrganizationInvitationRequestObject) (GetPublicOrganizationInvitationResponseObject, error)
	// RevokePublicOrganizationInvitation Revoke an organization invitation
	// (POST /auth/api/v1/organizations/{organizationID}/invitations/{invitationID}/revoke)
	RevokePublicOrganizationInvitation(ctx context.Context, request RevokePublicOrganizationInvitationRequestObject) (RevokePublicOrganizationInvitationResponseObject, error)
	// ListPublicOrganizationMembers List organization members
	// (GET /auth/api/v1/organizations/{organizationID}/members)
	ListPublicOrganizationMembers(ctx context.Context, request ListPublicOrganizationMembersRequestObject) (ListPublicOrganizationMembersResponseObject, error)
	// GetPublicOrganizationMember Get an organization member
	// (GET /auth/api/v1/organizations/{organizationID}/members/{userID})
	GetPublicOrganizationMember(ctx context.Context, request GetPublicOrganizationMemberRequestObject) (GetPublicOrganizationMemberResponseObject, error)
	// SwitchOrganization Switch the current session to another organization
	// (POST /auth/api/v1/organizations/{organizationID}/switch)
	SwitchOrganization(ctx context.Context, request SwitchOrganizationRequestObject) (SwitchOrganizationResponseObject, error)
	// FinishPasskeyAuthentication Finish passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/finish)
	FinishPasskeyAuthentication(ctx context.Context, request FinishPasskeyAuthenticationRequestObject) (FinishPasskeyAuthenticationResponseObject, error)
	// BeginPasskeyAuthentication Start passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/options)
	BeginPasskeyAuthentication(ctx context.Context, request BeginPasskeyAuthenticationRequestObject) (BeginPasskeyAuthenticationResponseObject, error)
	// FinishPasskeyRegistration Finish passkey registration
	// (POST /auth/api/v1/passkeys/register/finish)
	FinishPasskeyRegistration(ctx context.Context, request FinishPasskeyRegistrationRequestObject) (FinishPasskeyRegistrationResponseObject, error)
	// BeginPasskeyRegistration Start passkey registration
	// (POST /auth/api/v1/passkeys/register/options)
	BeginPasskeyRegistration(ctx context.Context, request BeginPasskeyRegistrationRequestObject) (BeginPasskeyRegistrationResponseObject, error)
	// StartPasswordResetChallenge Start a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges)
	StartPasswordResetChallenge(ctx context.Context, request StartPasswordResetChallengeRequestObject) (StartPasswordResetChallengeResponseObject, error)
	// VerifyPasswordResetChallenge Verify a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges/verify)
	VerifyPasswordResetChallenge(ctx context.Context, request VerifyPasswordResetChallengeRequestObject) (VerifyPasswordResetChallengeResponseObject, error)
	// StartGoogleAccountRecoveryLink Start linking Google to an existing account with the same email
	// (POST /auth/api/v1/provider-links/recovery/google)
	StartGoogleAccountRecoveryLink(ctx context.Context, request StartGoogleAccountRecoveryLinkRequestObject) (StartGoogleAccountRecoveryLinkResponseObject, error)
	// CompleteAccountRecoveryLinkWithGoogle Prove ownership with an existing Google login and finish linking
	// (POST /auth/api/v1/provider-links/recovery/{linkID}/google)
	CompleteAccountRecoveryLinkWithGoogle(ctx context.Context, request CompleteAccountRecoveryLinkWithGoogleRequestObject) (CompleteAccountRecoveryLinkWithGoogleResponseObject, error)
	// CompleteAccountRecoveryLinkWithPassword Prove ownership with the existing account password and finish linking
	// (POST /auth/api/v1/provider-links/recovery/{linkID}/password)
	CompleteAccountRecoveryLinkWithPassword(ctx context.Context, request CompleteAccountRecoveryLinkWithPasswordRequestObject) (CompleteAccountRecoveryLinkWithPasswordResponseObject, error)
	// Logout Log out the current session
	// (POST /auth/api/v1/sessions/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
	// RefreshSession Refresh a cookie-backed session
	// (POST /auth/api/v1/sessions/refresh)
	RefreshSession(ctx context.Context, request RefreshSessionRequestObject) (RefreshSessionResponseObject, error)
	// StartSignupChallenge Start challenge-based signup
	// (POST /auth/api/v1/signup/challenges)
	StartSignupChallenge(ctx context.Context, request StartSignupChallengeRequestObject) (StartSignupChallengeResponseObject, error)
	// VerifySignupChallenge Verify a signup challenge and create the account
	// (POST /auth/api/v1/signup/challenges/verify)
	VerifySignupChallenge(ctx context.Context, request VerifySignupChallengeRequestObject) (VerifySignupChallengeResponseObject, error)
	// SignupDirect Create an account without a signup challenge
	// (POST /auth/api/v1/signup/direct)
	SignupDirect(ctx context.Context, request SignupDirectRequestObject) (SignupDirectResponseObject, error)
	// RefreshTokens Refresh tokens supplied in JSON
	// (POST /auth/api/v1/tokens/refresh)
	RefreshTokens(ctx context.Context, request RefreshTokensRequestObject) (RefreshTokensResponseObject, error)
	// GetCurrentUser Get the authenticated user
	// (GET /auth/api/v1/user)
	GetCurrentUser(ctx context.Context, request GetCurrentUserRequestObject) (GetCurrentUserResponseObject, error)
	// SetCurrentUserPassword Set the authenticated user's password
	// (PUT /auth/api/v1/users/password)
	SetCurrentUserPassword(ctx context.Context, request SetCurrentUserPasswordRequestObject) (SetCurrentUserPasswordResponseObject, error)
	// ListPublicUserMemberships List memberships for the authenticated user
	// (GET /auth/api/v1/users/{userID}/memberships)
	ListPublicUserMemberships(ctx context.Context, request ListPublicUserMembershipsRequestObject) (ListPublicUserMembershipsResponseObject, error)
	// CreateInternalOrganization Create a team organization
	// (POST /auth/internal/v1/organizations)
	CreateInternalOrganization(ctx context.Context, request CreateInternalOrganizationRequestObject) (CreateInternalOrganizationResponseObject, error)
	// DeleteInternalOrganization Delete a team organization
	// (DELETE /auth/internal/v1/organizations/{organizationID})
	DeleteInternalOrganization(ctx context.Context, request DeleteInternalOrganizationRequestObject) (DeleteInternalOrganizationResponseObject, error)
	// CreateInternalOrganizationInvitation Create an organization invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations)
	CreateInternalOrganizationInvitation(ctx context.Context, request CreateInternalOrganizationInvitationRequestObject) (CreateInternalOrganizationInvitationResponseObject, error)
	// ResendInternalOrganizationInvitation Replace an organization invitation with a fresh invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations/{invitationID}/resend)
	ResendInternalOrganizationInvitation(ctx context.Context, request ResendInternalOrganizationInvitationRequestObject) (ResendInternalOrganizationInvitationResponseObject, error)
	// RemoveInternalOrganizationMember Remove an organization member
	// (DELETE /auth/internal/v1/organizations/{organizationID}/members/{userID})
	RemoveInternalOrganizationMember(ctx context.Context, request RemoveInternalOrganizationMemberRequestObject) (RemoveInternalOrganizationMemberResponseObject, error)
	// TransferInternalOrganizationOwnership Transfer organization ownership
	// (POST /auth/internal/v1/organizations/{organizationID}/ownership-transfer)
	TransferInternalOrganizationOwnership(ctx context.Context, request TransferInternalOrganizationOwnershipRequestObject) (TransferInternalOrganizationOwnershipResponseObject, error)
	// DeleteInternalUser Delete a user
	// (DELETE /auth/internal/v1/users/{userID})
	DeleteInternalUser(ctx context.Context, request DeleteInternalUserRequestObject) (DeleteInternalUserResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SwitchOrganization200HeadersResponse

type SwitchOrganization200HeadersResponse struct {
	Header http.Header
	Body   Tokens
}

func (SwitchOrganization200HeadersResponse) VisitSwitchOrganizationResponse

func (r SwitchOrganization200HeadersResponse) VisitSwitchOrganizationResponse(w http.ResponseWriter) error

type SwitchOrganization200JSONResponse

type SwitchOrganization200JSONResponse Tokens

func (SwitchOrganization200JSONResponse) VisitSwitchOrganizationResponse

func (response SwitchOrganization200JSONResponse) VisitSwitchOrganizationResponse(w http.ResponseWriter) error

type SwitchOrganization400JSONResponse

type SwitchOrganization400JSONResponse struct{ ErrorJSONResponse }

func (SwitchOrganization400JSONResponse) VisitSwitchOrganizationResponse

func (response SwitchOrganization400JSONResponse) VisitSwitchOrganizationResponse(w http.ResponseWriter) error

type SwitchOrganization401JSONResponse

type SwitchOrganization401JSONResponse ErrorResponse

func (SwitchOrganization401JSONResponse) VisitSwitchOrganizationResponse

func (response SwitchOrganization401JSONResponse) VisitSwitchOrganizationResponse(w http.ResponseWriter) error

type SwitchOrganization403JSONResponse

type SwitchOrganization403JSONResponse ErrorResponse

func (SwitchOrganization403JSONResponse) VisitSwitchOrganizationResponse

func (response SwitchOrganization403JSONResponse) VisitSwitchOrganizationResponse(w http.ResponseWriter) error

type SwitchOrganization500JSONResponse

type SwitchOrganization500JSONResponse ErrorResponse

func (SwitchOrganization500JSONResponse) VisitSwitchOrganizationResponse

func (response SwitchOrganization500JSONResponse) VisitSwitchOrganizationResponse(w http.ResponseWriter) error

type SwitchOrganizationParams

type SwitchOrganizationParams struct {
	Audience *SwitchOrganizationParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

SwitchOrganizationParams defines parameters for SwitchOrganization.

type SwitchOrganizationParamsAudience

type SwitchOrganizationParamsAudience string

SwitchOrganizationParamsAudience defines parameters for SwitchOrganization.

const (
	SwitchOrganizationParamsAudienceAdmin SwitchOrganizationParamsAudience = "admin"
	SwitchOrganizationParamsAudienceApp   SwitchOrganizationParamsAudience = "app"
)

Defines values for SwitchOrganizationParamsAudience.

func (SwitchOrganizationParamsAudience) Valid

Valid indicates whether the value is a known member of the SwitchOrganizationParamsAudience enum.

type SwitchOrganizationRequestObject

type SwitchOrganizationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	Params         SwitchOrganizationParams
}

type SwitchOrganizationResponseObject

type SwitchOrganizationResponseObject interface {
	VisitSwitchOrganizationResponse(w http.ResponseWriter) error
}

type TokenRefreshRequest

type TokenRefreshRequest struct {
	Audience     *TokenRefreshRequestAudience `json:"audience,omitempty"`
	RefreshToken string                       `json:"refresh_token"`
}

TokenRefreshRequest defines model for TokenRefreshRequest.

type TokenRefreshRequestAudience

type TokenRefreshRequestAudience string

TokenRefreshRequestAudience defines model for TokenRefreshRequest.Audience.

const (
	TokenRefreshRequestAudienceAdmin TokenRefreshRequestAudience = "admin"
	TokenRefreshRequestAudienceApp   TokenRefreshRequestAudience = "app"
)

Defines values for TokenRefreshRequestAudience.

func (TokenRefreshRequestAudience) Valid

Valid indicates whether the value is a known member of the TokenRefreshRequestAudience enum.

type Tokens

type Tokens struct {
	AccessToken  string `json:"access_token"`
	RefreshToken string `json:"refresh_token"`
}

Tokens defines model for Tokens.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type TransferInternalOrganizationOwnership204Response added in v0.14.0

type TransferInternalOrganizationOwnership204Response struct {
}

func (TransferInternalOrganizationOwnership204Response) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership204Response) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnership400JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership400JSONResponse struct{ ErrorJSONResponse }

func (TransferInternalOrganizationOwnership400JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership400JSONResponse) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnership401JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership401JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership401JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership401JSONResponse) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnership403JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership403JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership403JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership403JSONResponse) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnership404JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership404JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership404JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership404JSONResponse) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnership409JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership409JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership409JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership409JSONResponse) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnership500JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership500JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership500JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

func (response TransferInternalOrganizationOwnership500JSONResponse) VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error

type TransferInternalOrganizationOwnershipJSONRequestBody added in v0.14.0

type TransferInternalOrganizationOwnershipJSONRequestBody = InternalOwnershipTransferRequest

TransferInternalOrganizationOwnershipJSONRequestBody defines body for TransferInternalOrganizationOwnership for application/json ContentType.

type TransferInternalOrganizationOwnershipRequestObject added in v0.14.0

type TransferInternalOrganizationOwnershipRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	Body           *TransferInternalOrganizationOwnershipJSONRequestBody
}

type TransferInternalOrganizationOwnershipResponseObject added in v0.14.0

type TransferInternalOrganizationOwnershipResponseObject interface {
	VisitTransferInternalOrganizationOwnershipResponse(w http.ResponseWriter) error
}

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) AcceptInvitation added in v0.16.0

func (_ Unimplemented) AcceptInvitation(w http.ResponseWriter, r *http.Request, params AcceptInvitationParams)

AcceptInvitation Accept an invitation and switch the current session to its organization (POST /auth/api/v1/invitations/accept)

func (Unimplemented) AddCurrentUserPassword added in v0.16.0

func (_ Unimplemented) AddCurrentUserPassword(w http.ResponseWriter, r *http.Request)

AddCurrentUserPassword Add password authentication to the authenticated user's account (POST /auth/api/v1/account/password)

func (Unimplemented) AuthenticateAndAcceptInvitationWithGoogle added in v0.16.0

func (_ Unimplemented) AuthenticateAndAcceptInvitationWithGoogle(w http.ResponseWriter, r *http.Request, params AuthenticateAndAcceptInvitationWithGoogleParams)

AuthenticateAndAcceptInvitationWithGoogle Sign up or log in with Google, accept an invitation, and switch organizations (POST /auth/api/v1/invitations/google)

func (Unimplemented) BeginPasskeyAuthentication

func (_ Unimplemented) BeginPasskeyAuthentication(w http.ResponseWriter, r *http.Request)

BeginPasskeyAuthentication Start passkey authentication (POST /auth/api/v1/passkeys/authenticate/options)

func (Unimplemented) BeginPasskeyRegistration

func (_ Unimplemented) BeginPasskeyRegistration(w http.ResponseWriter, r *http.Request)

BeginPasskeyRegistration Start passkey registration (POST /auth/api/v1/passkeys/register/options)

func (Unimplemented) ChangeCurrentUserPassword added in v0.16.0

func (_ Unimplemented) ChangeCurrentUserPassword(w http.ResponseWriter, r *http.Request)

ChangeCurrentUserPassword Change the authenticated user's password (PUT /auth/api/v1/account/password)

func (Unimplemented) ChangeCurrentUsername added in v0.16.0

func (_ Unimplemented) ChangeCurrentUsername(w http.ResponseWriter, r *http.Request)

ChangeCurrentUsername Change the authenticated user's username (PATCH /auth/api/v1/account/username)

func (Unimplemented) CompleteAccountRecoveryLinkWithGoogle added in v0.16.0

func (_ Unimplemented) CompleteAccountRecoveryLinkWithGoogle(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, params CompleteAccountRecoveryLinkWithGoogleParams)

CompleteAccountRecoveryLinkWithGoogle Prove ownership with an existing Google login and finish linking (POST /auth/api/v1/provider-links/recovery/{linkID}/google)

func (Unimplemented) CompleteAccountRecoveryLinkWithPassword added in v0.16.0

func (_ Unimplemented) CompleteAccountRecoveryLinkWithPassword(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, params CompleteAccountRecoveryLinkWithPasswordParams)

CompleteAccountRecoveryLinkWithPassword Prove ownership with the existing account password and finish linking (POST /auth/api/v1/provider-links/recovery/{linkID}/password)

func (Unimplemented) CreateInternalOrganization

func (_ Unimplemented) CreateInternalOrganization(w http.ResponseWriter, r *http.Request)

CreateInternalOrganization Create a team organization (POST /auth/internal/v1/organizations)

func (Unimplemented) CreateInternalOrganizationInvitation

func (_ Unimplemented) CreateInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

CreateInternalOrganizationInvitation Create an organization invitation (POST /auth/internal/v1/organizations/{organizationID}/invitations)

func (Unimplemented) DeleteCurrentUserPasskey added in v0.16.0

func (_ Unimplemented) DeleteCurrentUserPasskey(w http.ResponseWriter, r *http.Request, passkeyID PasskeyID)

DeleteCurrentUserPasskey Delete a passkey from the authenticated user's account (DELETE /auth/api/v1/account/passkeys/{passkeyID})

func (Unimplemented) DeleteInternalOrganization added in v0.14.0

func (_ Unimplemented) DeleteInternalOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

DeleteInternalOrganization Delete a team organization (DELETE /auth/internal/v1/organizations/{organizationID})

func (Unimplemented) DeleteInternalUser added in v0.14.0

func (_ Unimplemented) DeleteInternalUser(w http.ResponseWriter, r *http.Request, userID UserID)

DeleteInternalUser Delete a user (DELETE /auth/internal/v1/users/{userID})

func (Unimplemented) FinishPasskeyAuthentication

func (_ Unimplemented) FinishPasskeyAuthentication(w http.ResponseWriter, r *http.Request, params FinishPasskeyAuthenticationParams)

FinishPasskeyAuthentication Finish passkey authentication (POST /auth/api/v1/passkeys/authenticate/finish)

func (Unimplemented) FinishPasskeyRegistration

func (_ Unimplemented) FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)

FinishPasskeyRegistration Finish passkey registration (POST /auth/api/v1/passkeys/register/finish)

func (Unimplemented) GetCsrfToken

func (_ Unimplemented) GetCsrfToken(w http.ResponseWriter, r *http.Request)

GetCsrfToken Get a CSRF token (GET /auth/api/v1/csrf)

func (Unimplemented) GetCurrentAccount added in v0.16.0

func (_ Unimplemented) GetCurrentAccount(w http.ResponseWriter, r *http.Request)

GetCurrentAccount Get the authenticated user's account (GET /auth/api/v1/account)

func (Unimplemented) GetCurrentOrganization

func (_ Unimplemented) GetCurrentOrganization(w http.ResponseWriter, r *http.Request)

GetCurrentOrganization Get the organization in the current access token (GET /auth/api/v1/organizations/current)

func (Unimplemented) GetCurrentUser

func (_ Unimplemented) GetCurrentUser(w http.ResponseWriter, r *http.Request)

GetCurrentUser Get the authenticated user (GET /auth/api/v1/user)

func (Unimplemented) GetGoogleLoginOptions

func (_ Unimplemented) GetGoogleLoginOptions(w http.ResponseWriter, r *http.Request)

GetGoogleLoginOptions Get Google login options (GET /auth/api/v1/oauth/google/options)

func (Unimplemented) GetPublicCapabilities

func (_ Unimplemented) GetPublicCapabilities(w http.ResponseWriter, r *http.Request)

GetPublicCapabilities Get organization capabilities (GET /auth/api/v1/capabilities)

func (Unimplemented) GetPublicOrganization

func (_ Unimplemented) GetPublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

GetPublicOrganization Get an organization (GET /auth/api/v1/organizations/{organizationID})

func (Unimplemented) GetPublicOrganizationInvitation

func (_ Unimplemented) GetPublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)

GetPublicOrganizationInvitation Get an organization invitation (GET /auth/api/v1/organizations/{organizationID}/invitations/{invitationID})

func (Unimplemented) GetPublicOrganizationMember

func (_ Unimplemented) GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)

GetPublicOrganizationMember Get an organization member (GET /auth/api/v1/organizations/{organizationID}/members/{userID})

func (Unimplemented) LinkCurrentUserGoogle added in v0.16.0

func (_ Unimplemented) LinkCurrentUserGoogle(w http.ResponseWriter, r *http.Request)

LinkCurrentUserGoogle Link Google to the authenticated user's account (POST /auth/api/v1/account/auth-methods/google)

func (Unimplemented) ListCurrentOrganizationMembers

func (_ Unimplemented) ListCurrentOrganizationMembers(w http.ResponseWriter, r *http.Request)

ListCurrentOrganizationMembers List members of the current organization (GET /auth/api/v1/organizations/current/members)

func (Unimplemented) ListCurrentUserOrganizations

func (_ Unimplemented) ListCurrentUserOrganizations(w http.ResponseWriter, r *http.Request)

ListCurrentUserOrganizations List organizations for the authenticated user (GET /auth/api/v1/organizations)

func (Unimplemented) ListPublicOrganizationInvitations

func (_ Unimplemented) ListPublicOrganizationInvitations(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

ListPublicOrganizationInvitations List organization invitations (GET /auth/api/v1/organizations/{organizationID}/invitations)

func (Unimplemented) ListPublicOrganizationMembers

func (_ Unimplemented) ListPublicOrganizationMembers(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

ListPublicOrganizationMembers List organization members (GET /auth/api/v1/organizations/{organizationID}/members)

func (Unimplemented) ListPublicUserMemberships

func (_ Unimplemented) ListPublicUserMemberships(w http.ResponseWriter, r *http.Request, userID UserID)

ListPublicUserMemberships List memberships for the authenticated user (GET /auth/api/v1/users/{userID}/memberships)

func (Unimplemented) LoginAndAcceptInvitation added in v0.16.0

func (_ Unimplemented) LoginAndAcceptInvitation(w http.ResponseWriter, r *http.Request, params LoginAndAcceptInvitationParams)

LoginAndAcceptInvitation Log in with a password, accept an invitation, and switch organizations (POST /auth/api/v1/invitations/login)

func (Unimplemented) LoginWithGoogle

func (_ Unimplemented) LoginWithGoogle(w http.ResponseWriter, r *http.Request, params LoginWithGoogleParams)

LoginWithGoogle Log in with a Google ID token (POST /auth/api/v1/oauth/google)

func (Unimplemented) LoginWithPassword

func (_ Unimplemented) LoginWithPassword(w http.ResponseWriter, r *http.Request, params LoginWithPasswordParams)

LoginWithPassword Log in with a password (POST /auth/api/v1/login)

func (Unimplemented) Logout

func (_ Unimplemented) Logout(w http.ResponseWriter, r *http.Request)

Logout Log out the current session (POST /auth/api/v1/sessions/logout)

func (Unimplemented) PreviewInvitation added in v0.16.0

func (_ Unimplemented) PreviewInvitation(w http.ResponseWriter, r *http.Request, params PreviewInvitationParams)

PreviewInvitation Preview an organization invitation (GET /auth/api/v1/invitations/preview)

func (Unimplemented) RefreshSession

func (_ Unimplemented) RefreshSession(w http.ResponseWriter, r *http.Request, params RefreshSessionParams)

RefreshSession Refresh a cookie-backed session (POST /auth/api/v1/sessions/refresh)

func (Unimplemented) RefreshTokens

func (_ Unimplemented) RefreshTokens(w http.ResponseWriter, r *http.Request)

RefreshTokens Refresh tokens supplied in JSON (POST /auth/api/v1/tokens/refresh)

func (Unimplemented) RemoveInternalOrganizationMember added in v0.14.0

func (_ Unimplemented) RemoveInternalOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)

RemoveInternalOrganizationMember Remove an organization member (DELETE /auth/internal/v1/organizations/{organizationID}/members/{userID})

func (Unimplemented) ResendChallenge

func (_ Unimplemented) ResendChallenge(w http.ResponseWriter, r *http.Request)

ResendChallenge Request another challenge verification code (POST /auth/api/v1/challenges/resend)

func (Unimplemented) ResendInternalOrganizationInvitation

func (_ Unimplemented) ResendInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)

ResendInternalOrganizationInvitation Replace an organization invitation with a fresh invitation (POST /auth/internal/v1/organizations/{organizationID}/invitations/{invitationID}/resend)

func (Unimplemented) RevokeCurrentUserOtherSessions added in v0.16.0

func (_ Unimplemented) RevokeCurrentUserOtherSessions(w http.ResponseWriter, r *http.Request)

RevokeCurrentUserOtherSessions Revoke all sessions except the current session (DELETE /auth/api/v1/account/sessions/others)

func (Unimplemented) RevokeCurrentUserSession added in v0.16.0

func (_ Unimplemented) RevokeCurrentUserSession(w http.ResponseWriter, r *http.Request, sessionID SessionID)

RevokeCurrentUserSession Revoke one of the authenticated user's sessions (DELETE /auth/api/v1/account/sessions/{sessionID})

func (Unimplemented) RevokePublicOrganizationInvitation

func (_ Unimplemented) RevokePublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)

RevokePublicOrganizationInvitation Revoke an organization invitation (POST /auth/api/v1/organizations/{organizationID}/invitations/{invitationID}/revoke)

func (Unimplemented) SetCurrentUserPassword added in v0.12.0

func (_ Unimplemented) SetCurrentUserPassword(w http.ResponseWriter, r *http.Request)

SetCurrentUserPassword Set the authenticated user's password (PUT /auth/api/v1/users/password)

func (Unimplemented) SignupDirect

func (_ Unimplemented) SignupDirect(w http.ResponseWriter, r *http.Request, params SignupDirectParams)

SignupDirect Create an account without a signup challenge (POST /auth/api/v1/signup/direct)

func (Unimplemented) StartCurrentUserEmailChange added in v0.16.0

func (_ Unimplemented) StartCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)

StartCurrentUserEmailChange Start an email change challenge (POST /auth/api/v1/account/email-change/challenges)

func (_ Unimplemented) StartGoogleAccountRecoveryLink(w http.ResponseWriter, r *http.Request)

StartGoogleAccountRecoveryLink Start linking Google to an existing account with the same email (POST /auth/api/v1/provider-links/recovery/google)

func (Unimplemented) StartPasswordResetChallenge added in v0.12.0

func (_ Unimplemented) StartPasswordResetChallenge(w http.ResponseWriter, r *http.Request)

StartPasswordResetChallenge Start a password reset challenge (POST /auth/api/v1/password-reset/challenges)

func (Unimplemented) StartSignupChallenge

func (_ Unimplemented) StartSignupChallenge(w http.ResponseWriter, r *http.Request, params StartSignupChallengeParams)

StartSignupChallenge Start challenge-based signup (POST /auth/api/v1/signup/challenges)

func (Unimplemented) SwitchOrganization

func (_ Unimplemented) SwitchOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, params SwitchOrganizationParams)

SwitchOrganization Switch the current session to another organization (POST /auth/api/v1/organizations/{organizationID}/switch)

func (Unimplemented) TransferInternalOrganizationOwnership added in v0.14.0

func (_ Unimplemented) TransferInternalOrganizationOwnership(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

TransferInternalOrganizationOwnership Transfer organization ownership (POST /auth/internal/v1/organizations/{organizationID}/ownership-transfer)

func (Unimplemented) UnlinkCurrentUserAuthMethod added in v0.16.0

func (_ Unimplemented) UnlinkCurrentUserAuthMethod(w http.ResponseWriter, r *http.Request, provider AuthProvider)

UnlinkCurrentUserAuthMethod Unlink an authentication method from the authenticated user's account (DELETE /auth/api/v1/account/auth-methods/{provider})

func (Unimplemented) UpdatePublicOrganization

func (_ Unimplemented) UpdatePublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)

UpdatePublicOrganization Update an organization (PATCH /auth/api/v1/organizations/{organizationID})

func (Unimplemented) VerifyCurrentUserEmailChange added in v0.16.0

func (_ Unimplemented) VerifyCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)

VerifyCurrentUserEmailChange Verify an email change challenge (POST /auth/api/v1/account/email-change/challenges/verify)

func (Unimplemented) VerifyPasswordResetChallenge added in v0.12.0

func (_ Unimplemented) VerifyPasswordResetChallenge(w http.ResponseWriter, r *http.Request)

VerifyPasswordResetChallenge Verify a password reset challenge (POST /auth/api/v1/password-reset/challenges/verify)

func (Unimplemented) VerifySignupChallenge

func (_ Unimplemented) VerifySignupChallenge(w http.ResponseWriter, r *http.Request, params VerifySignupChallengeParams)

VerifySignupChallenge Verify a signup challenge and create the account (POST /auth/api/v1/signup/challenges/verify)

type UnlinkCurrentUserAuthMethod204Response added in v0.16.0

type UnlinkCurrentUserAuthMethod204Response struct {
}

func (UnlinkCurrentUserAuthMethod204Response) VisitUnlinkCurrentUserAuthMethodResponse added in v0.16.0

func (response UnlinkCurrentUserAuthMethod204Response) VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error

type UnlinkCurrentUserAuthMethod400JSONResponse added in v0.16.0

type UnlinkCurrentUserAuthMethod400JSONResponse struct{ ErrorJSONResponse }

func (UnlinkCurrentUserAuthMethod400JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse added in v0.16.0

func (response UnlinkCurrentUserAuthMethod400JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error

type UnlinkCurrentUserAuthMethod401JSONResponse added in v0.16.0

type UnlinkCurrentUserAuthMethod401JSONResponse ErrorResponse

func (UnlinkCurrentUserAuthMethod401JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse added in v0.16.0

func (response UnlinkCurrentUserAuthMethod401JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error

type UnlinkCurrentUserAuthMethod404JSONResponse added in v0.16.0

type UnlinkCurrentUserAuthMethod404JSONResponse ErrorResponse

func (UnlinkCurrentUserAuthMethod404JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse added in v0.16.0

func (response UnlinkCurrentUserAuthMethod404JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error

type UnlinkCurrentUserAuthMethod409JSONResponse added in v0.16.0

type UnlinkCurrentUserAuthMethod409JSONResponse ErrorResponse

func (UnlinkCurrentUserAuthMethod409JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse added in v0.16.0

func (response UnlinkCurrentUserAuthMethod409JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error

type UnlinkCurrentUserAuthMethod500JSONResponse added in v0.16.0

type UnlinkCurrentUserAuthMethod500JSONResponse ErrorResponse

func (UnlinkCurrentUserAuthMethod500JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse added in v0.16.0

func (response UnlinkCurrentUserAuthMethod500JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error

type UnlinkCurrentUserAuthMethodRequestObject added in v0.16.0

type UnlinkCurrentUserAuthMethodRequestObject struct {
	Provider AuthProvider `json:"provider"`
}

type UnlinkCurrentUserAuthMethodResponseObject added in v0.16.0

type UnlinkCurrentUserAuthMethodResponseObject interface {
	VisitUnlinkCurrentUserAuthMethodResponse(w http.ResponseWriter) error
}

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateOrganizationRequest

type UpdateOrganizationRequest struct {
	Name string `json:"name"`
}

UpdateOrganizationRequest defines model for UpdateOrganizationRequest.

type UpdatePublicOrganization200JSONResponse

type UpdatePublicOrganization200JSONResponse OrganizationEnvelope

func (UpdatePublicOrganization200JSONResponse) VisitUpdatePublicOrganizationResponse

func (response UpdatePublicOrganization200JSONResponse) VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error

type UpdatePublicOrganization400JSONResponse

type UpdatePublicOrganization400JSONResponse struct{ ErrorJSONResponse }

func (UpdatePublicOrganization400JSONResponse) VisitUpdatePublicOrganizationResponse

func (response UpdatePublicOrganization400JSONResponse) VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error

type UpdatePublicOrganization401JSONResponse

type UpdatePublicOrganization401JSONResponse ErrorResponse

func (UpdatePublicOrganization401JSONResponse) VisitUpdatePublicOrganizationResponse

func (response UpdatePublicOrganization401JSONResponse) VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error

type UpdatePublicOrganization403JSONResponse

type UpdatePublicOrganization403JSONResponse ErrorResponse

func (UpdatePublicOrganization403JSONResponse) VisitUpdatePublicOrganizationResponse

func (response UpdatePublicOrganization403JSONResponse) VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error

type UpdatePublicOrganization404JSONResponse

type UpdatePublicOrganization404JSONResponse ErrorResponse

func (UpdatePublicOrganization404JSONResponse) VisitUpdatePublicOrganizationResponse

func (response UpdatePublicOrganization404JSONResponse) VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error

type UpdatePublicOrganization500JSONResponse

type UpdatePublicOrganization500JSONResponse ErrorResponse

func (UpdatePublicOrganization500JSONResponse) VisitUpdatePublicOrganizationResponse

func (response UpdatePublicOrganization500JSONResponse) VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error

type UpdatePublicOrganizationJSONRequestBody

type UpdatePublicOrganizationJSONRequestBody = UpdateOrganizationRequest

UpdatePublicOrganizationJSONRequestBody defines body for UpdatePublicOrganization for application/json ContentType.

type UpdatePublicOrganizationRequestObject

type UpdatePublicOrganizationRequestObject struct {
	OrganizationID OrganizationID `json:"organizationID"`
	Body           *UpdatePublicOrganizationJSONRequestBody
}

type UpdatePublicOrganizationResponseObject

type UpdatePublicOrganizationResponseObject interface {
	VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error
}

type UserID

type UserID = openapi_types.UUID

UserID defines model for UserID.

type UserMemberships

type UserMemberships struct {
	Memberships []MembershipWithOrganization `json:"memberships"`
}

UserMemberships defines model for UserMemberships.

type VerifyCurrentUserEmailChange204Response added in v0.16.0

type VerifyCurrentUserEmailChange204Response struct {
}

func (VerifyCurrentUserEmailChange204Response) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange204Response) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChange400JSONResponse added in v0.16.0

type VerifyCurrentUserEmailChange400JSONResponse struct{ ErrorJSONResponse }

func (VerifyCurrentUserEmailChange400JSONResponse) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange400JSONResponse) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChange401JSONResponse added in v0.16.0

type VerifyCurrentUserEmailChange401JSONResponse ErrorResponse

func (VerifyCurrentUserEmailChange401JSONResponse) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange401JSONResponse) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChange403JSONResponse added in v0.16.0

type VerifyCurrentUserEmailChange403JSONResponse ErrorResponse

func (VerifyCurrentUserEmailChange403JSONResponse) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange403JSONResponse) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChange404JSONResponse added in v0.16.0

type VerifyCurrentUserEmailChange404JSONResponse ErrorResponse

func (VerifyCurrentUserEmailChange404JSONResponse) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange404JSONResponse) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChange429JSONResponse added in v0.16.0

type VerifyCurrentUserEmailChange429JSONResponse ErrorResponse

func (VerifyCurrentUserEmailChange429JSONResponse) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange429JSONResponse) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChange500JSONResponse added in v0.16.0

type VerifyCurrentUserEmailChange500JSONResponse ErrorResponse

func (VerifyCurrentUserEmailChange500JSONResponse) VisitVerifyCurrentUserEmailChangeResponse added in v0.16.0

func (response VerifyCurrentUserEmailChange500JSONResponse) VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error

type VerifyCurrentUserEmailChangeJSONRequestBody added in v0.16.0

type VerifyCurrentUserEmailChangeJSONRequestBody = ChallengeVerification

VerifyCurrentUserEmailChangeJSONRequestBody defines body for VerifyCurrentUserEmailChange for application/json ContentType.

type VerifyCurrentUserEmailChangeRequestObject added in v0.16.0

type VerifyCurrentUserEmailChangeRequestObject struct {
	Body *VerifyCurrentUserEmailChangeJSONRequestBody
}

type VerifyCurrentUserEmailChangeResponseObject added in v0.16.0

type VerifyCurrentUserEmailChangeResponseObject interface {
	VisitVerifyCurrentUserEmailChangeResponse(w http.ResponseWriter) error
}

type VerifyPasswordResetChallenge204Response added in v0.12.0

type VerifyPasswordResetChallenge204Response struct {
}

func (VerifyPasswordResetChallenge204Response) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

func (response VerifyPasswordResetChallenge204Response) VisitVerifyPasswordResetChallengeResponse(w http.ResponseWriter) error

type VerifyPasswordResetChallenge400JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge400JSONResponse struct{ ErrorJSONResponse }

func (VerifyPasswordResetChallenge400JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

func (response VerifyPasswordResetChallenge400JSONResponse) VisitVerifyPasswordResetChallengeResponse(w http.ResponseWriter) error

type VerifyPasswordResetChallenge403JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge403JSONResponse ErrorResponse

func (VerifyPasswordResetChallenge403JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

func (response VerifyPasswordResetChallenge403JSONResponse) VisitVerifyPasswordResetChallengeResponse(w http.ResponseWriter) error

type VerifyPasswordResetChallenge429JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge429JSONResponse ErrorResponse

func (VerifyPasswordResetChallenge429JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

func (response VerifyPasswordResetChallenge429JSONResponse) VisitVerifyPasswordResetChallengeResponse(w http.ResponseWriter) error

type VerifyPasswordResetChallenge500JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge500JSONResponse ErrorResponse

func (VerifyPasswordResetChallenge500JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

func (response VerifyPasswordResetChallenge500JSONResponse) VisitVerifyPasswordResetChallengeResponse(w http.ResponseWriter) error

type VerifyPasswordResetChallengeJSONRequestBody added in v0.12.0

type VerifyPasswordResetChallengeJSONRequestBody = PasswordResetChallengeVerification

VerifyPasswordResetChallengeJSONRequestBody defines body for VerifyPasswordResetChallenge for application/json ContentType.

type VerifyPasswordResetChallengeRequestObject added in v0.12.0

type VerifyPasswordResetChallengeRequestObject struct {
	Body *VerifyPasswordResetChallengeJSONRequestBody
}

type VerifyPasswordResetChallengeResponseObject added in v0.12.0

type VerifyPasswordResetChallengeResponseObject interface {
	VisitVerifyPasswordResetChallengeResponse(w http.ResponseWriter) error
}

type VerifySignupChallenge201HeadersResponse

type VerifySignupChallenge201HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (VerifySignupChallenge201HeadersResponse) VisitVerifySignupChallengeResponse

func (r VerifySignupChallenge201HeadersResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallenge201JSONResponse

type VerifySignupChallenge201JSONResponse AuthSession

func (VerifySignupChallenge201JSONResponse) VisitVerifySignupChallengeResponse

func (response VerifySignupChallenge201JSONResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallenge400JSONResponse

type VerifySignupChallenge400JSONResponse struct{ ErrorJSONResponse }

func (VerifySignupChallenge400JSONResponse) VisitVerifySignupChallengeResponse

func (response VerifySignupChallenge400JSONResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallenge403JSONResponse

type VerifySignupChallenge403JSONResponse ErrorResponse

func (VerifySignupChallenge403JSONResponse) VisitVerifySignupChallengeResponse

func (response VerifySignupChallenge403JSONResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallenge404JSONResponse

type VerifySignupChallenge404JSONResponse ErrorResponse

func (VerifySignupChallenge404JSONResponse) VisitVerifySignupChallengeResponse

func (response VerifySignupChallenge404JSONResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallenge429JSONResponse

type VerifySignupChallenge429JSONResponse ErrorResponse

func (VerifySignupChallenge429JSONResponse) VisitVerifySignupChallengeResponse

func (response VerifySignupChallenge429JSONResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallenge500JSONResponse

type VerifySignupChallenge500JSONResponse ErrorResponse

func (VerifySignupChallenge500JSONResponse) VisitVerifySignupChallengeResponse

func (response VerifySignupChallenge500JSONResponse) VisitVerifySignupChallengeResponse(w http.ResponseWriter) error

type VerifySignupChallengeJSONRequestBody

type VerifySignupChallengeJSONRequestBody = SignupChallengeVerification

VerifySignupChallengeJSONRequestBody defines body for VerifySignupChallenge for application/json ContentType.

type VerifySignupChallengeParams

type VerifySignupChallengeParams struct {
	Audience *VerifySignupChallengeParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}

VerifySignupChallengeParams defines parameters for VerifySignupChallenge.

type VerifySignupChallengeParamsAudience

type VerifySignupChallengeParamsAudience string

VerifySignupChallengeParamsAudience defines parameters for VerifySignupChallenge.

const (
	VerifySignupChallengeParamsAudienceApp VerifySignupChallengeParamsAudience = "app"
)

Defines values for VerifySignupChallengeParamsAudience.

func (VerifySignupChallengeParamsAudience) Valid

Valid indicates whether the value is a known member of the VerifySignupChallengeParamsAudience enum.

type VerifySignupChallengeRequestObject

type VerifySignupChallengeRequestObject struct {
	Params VerifySignupChallengeParams
	Body   *VerifySignupChallengeJSONRequestBody
}

type VerifySignupChallengeResponseObject

type VerifySignupChallengeResponseObject interface {
	VisitVerifySignupChallengeResponse(w http.ResponseWriter) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL