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 ¶
- func ErrorCodeAllowed(extensions map[string]any, status int, code response.ErrorCode) bool
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func HeaderWriter(header http.Header) http.ResponseWriter
- func MustOperationErrors(operationID string) map[response.ErrorCode]response.ErrorSpec
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func Request(ctx context.Context) (*http.Request, bool)
- func ValidationMiddleware(logger *slog.Logger, validateResponses bool) func(http.Handler) http.Handler
- func WithRequest(ctx context.Context, r *http.Request) context.Context
- type APIError
- type AcceptInvitation200HeadersResponse
- type AcceptInvitation200JSONResponse
- type AcceptInvitation400JSONResponse
- type AcceptInvitation401JSONResponse
- type AcceptInvitation403JSONResponse
- type AcceptInvitation404JSONResponse
- type AcceptInvitation409JSONResponse
- type AcceptInvitation500JSONResponse
- type AcceptInvitationJSONRequestBody
- type AcceptInvitationParams
- type AcceptInvitationParamsAudience
- type AcceptInvitationRequestObject
- type AcceptInvitationResponseObject
- type Account
- type AccountPasskey
- type AccountRecoveryAppleProofRequest
- type AccountRecoveryGoogleProofRequest
- type AccountRecoveryLink
- type AccountRecoveryLinkProofMethods
- type AccountRecoveryPasswordProofRequest
- type AccountSession
- type AddCurrentUserPassword204Response
- type AddCurrentUserPassword400JSONResponse
- type AddCurrentUserPassword401JSONResponse
- type AddCurrentUserPassword409JSONResponse
- type AddCurrentUserPassword428JSONResponse
- type AddCurrentUserPassword500JSONResponse
- type AddCurrentUserPasswordJSONRequestBody
- type AddCurrentUserPasswordRequestObject
- type AddCurrentUserPasswordResponseObject
- type AppAudience
- type AppleAuthorizationRequest
- type AppleLoginOptions
- type AppleReauthenticationRequest
- type Audience
- type AuthMethod
- type AuthMethodProvider
- type AuthProvider
- type AuthSession
- type AuthUser
- type AuthenticateAndAcceptInvitationWithGoogle200HeadersResponse
- type AuthenticateAndAcceptInvitationWithGoogle200JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogle400JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogle401JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogle403JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogle404JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogle409JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogle500JSONResponse
- type AuthenticateAndAcceptInvitationWithGoogleJSONRequestBody
- type AuthenticateAndAcceptInvitationWithGoogleParams
- type AuthenticateAndAcceptInvitationWithGoogleParamsAudience
- type AuthenticateAndAcceptInvitationWithGoogleRequestObject
- type AuthenticateAndAcceptInvitationWithGoogleResponseObject
- type AuthenticationChallenge
- type AuthenticationChallengeReference
- type BeginPasskeyAuthentication200JSONResponse
- type BeginPasskeyAuthentication403JSONResponse
- type BeginPasskeyAuthentication429JSONResponse
- type BeginPasskeyAuthentication500JSONResponse
- type BeginPasskeyAuthenticationRequestObject
- type BeginPasskeyAuthenticationResponseObject
- type BeginPasskeyReauthentication200JSONResponse
- type BeginPasskeyReauthentication400JSONResponse
- type BeginPasskeyReauthentication401JSONResponse
- type BeginPasskeyReauthentication404JSONResponse
- type BeginPasskeyReauthentication409JSONResponse
- type BeginPasskeyReauthentication429JSONResponse
- type BeginPasskeyReauthentication500JSONResponse
- type BeginPasskeyReauthenticationJSONRequestBody
- type BeginPasskeyReauthenticationRequestObject
- type BeginPasskeyReauthenticationResponseObject
- type BeginPasskeyRegistration200JSONResponse
- type BeginPasskeyRegistration401JSONResponse
- type BeginPasskeyRegistration403JSONResponse
- type BeginPasskeyRegistration428JSONResponse
- type BeginPasskeyRegistration500JSONResponse
- type BeginPasskeyRegistrationRequestObject
- type BeginPasskeyRegistrationResponseObject
- type CSRFToken
- type Capabilities
- type CapabilitiesOrganizationMode
- type ChallengeReference
- type ChallengeVerification
- type ChangeCurrentUserPassword204Response
- type ChangeCurrentUserPassword400JSONResponse
- type ChangeCurrentUserPassword401JSONResponse
- type ChangeCurrentUserPassword404JSONResponse
- type ChangeCurrentUserPassword500JSONResponse
- type ChangeCurrentUserPasswordJSONRequestBody
- type ChangeCurrentUserPasswordRequestObject
- type ChangeCurrentUserPasswordResponseObject
- type ChangeCurrentUsername204Response
- type ChangeCurrentUsername400JSONResponse
- type ChangeCurrentUsername401JSONResponse
- type ChangeCurrentUsername409JSONResponse
- type ChangeCurrentUsername500JSONResponse
- type ChangeCurrentUsernameJSONRequestBody
- type ChangeCurrentUsernameRequestObject
- type ChangeCurrentUsernameResponseObject
- type ChangePasswordRequest
- type ChangeUsernameRequest
- type CheckRecentAuthentication204Response
- type CheckRecentAuthentication401JSONResponse
- type CheckRecentAuthentication403JSONResponse
- type CheckRecentAuthentication428JSONResponse
- type CheckRecentAuthentication500JSONResponse
- type CheckRecentAuthenticationRequestObject
- type CheckRecentAuthenticationResponseObject
- type ChiServerOptions
- type CompleteAccountRecoveryLinkWithApple200HeadersResponse
- type CompleteAccountRecoveryLinkWithApple200JSONResponse
- type CompleteAccountRecoveryLinkWithApple400JSONResponse
- type CompleteAccountRecoveryLinkWithApple401JSONResponse
- type CompleteAccountRecoveryLinkWithApple403JSONResponse
- type CompleteAccountRecoveryLinkWithApple404JSONResponse
- type CompleteAccountRecoveryLinkWithApple409JSONResponse
- type CompleteAccountRecoveryLinkWithApple500JSONResponse
- type CompleteAccountRecoveryLinkWithAppleJSONRequestBody
- type CompleteAccountRecoveryLinkWithAppleParams
- type CompleteAccountRecoveryLinkWithAppleParamsAudience
- type CompleteAccountRecoveryLinkWithAppleRequestObject
- type CompleteAccountRecoveryLinkWithAppleResponseObject
- type CompleteAccountRecoveryLinkWithGoogle200HeadersResponse
- type CompleteAccountRecoveryLinkWithGoogle200JSONResponse
- type CompleteAccountRecoveryLinkWithGoogle400JSONResponse
- type CompleteAccountRecoveryLinkWithGoogle401JSONResponse
- type CompleteAccountRecoveryLinkWithGoogle403JSONResponse
- type CompleteAccountRecoveryLinkWithGoogle404JSONResponse
- type CompleteAccountRecoveryLinkWithGoogle409JSONResponse
- type CompleteAccountRecoveryLinkWithGoogle500JSONResponse
- type CompleteAccountRecoveryLinkWithGoogleJSONRequestBody
- type CompleteAccountRecoveryLinkWithGoogleParams
- type CompleteAccountRecoveryLinkWithGoogleParamsAudience
- type CompleteAccountRecoveryLinkWithGoogleRequestObject
- type CompleteAccountRecoveryLinkWithGoogleResponseObject
- type CompleteAccountRecoveryLinkWithPassword200HeadersResponse
- type CompleteAccountRecoveryLinkWithPassword200JSONResponse
- type CompleteAccountRecoveryLinkWithPassword400JSONResponse
- type CompleteAccountRecoveryLinkWithPassword401JSONResponse
- type CompleteAccountRecoveryLinkWithPassword403JSONResponse
- type CompleteAccountRecoveryLinkWithPassword404JSONResponse
- type CompleteAccountRecoveryLinkWithPassword409JSONResponse
- type CompleteAccountRecoveryLinkWithPassword429JSONResponse
- type CompleteAccountRecoveryLinkWithPassword500JSONResponse
- type CompleteAccountRecoveryLinkWithPasswordJSONRequestBody
- type CompleteAccountRecoveryLinkWithPasswordParams
- type CompleteAccountRecoveryLinkWithPasswordParamsAudience
- type CompleteAccountRecoveryLinkWithPasswordRequestObject
- type CompleteAccountRecoveryLinkWithPasswordResponseObject
- type CreateInternalOrganization201JSONResponse
- type CreateInternalOrganization400JSONResponse
- type CreateInternalOrganization401JSONResponse
- type CreateInternalOrganization403JSONResponse
- type CreateInternalOrganization404JSONResponse
- type CreateInternalOrganization500JSONResponse
- type CreateInternalOrganizationInvitation201JSONResponse
- type CreateInternalOrganizationInvitation400JSONResponse
- type CreateInternalOrganizationInvitation401JSONResponse
- type CreateInternalOrganizationInvitation403JSONResponse
- type CreateInternalOrganizationInvitation404JSONResponse
- type CreateInternalOrganizationInvitation409JSONResponse
- type CreateInternalOrganizationInvitation500JSONResponse
- type CreateInternalOrganizationInvitationJSONRequestBody
- type CreateInternalOrganizationInvitationRequestObject
- type CreateInternalOrganizationInvitationResponseObject
- type CreateInternalOrganizationJSONRequestBody
- type CreateInternalOrganizationRequestObject
- type CreateInternalOrganizationResponseObject
- type CurrentOrganizationMember
- type CurrentOrganizationMembers
- type CurrentUser
- type CurrentUserRoles
- type Cursor
- type DeleteCurrentUserPasskey204Response
- type DeleteCurrentUserPasskey400JSONResponse
- type DeleteCurrentUserPasskey401JSONResponse
- type DeleteCurrentUserPasskey404JSONResponse
- type DeleteCurrentUserPasskey409JSONResponse
- type DeleteCurrentUserPasskey428JSONResponse
- type DeleteCurrentUserPasskey500JSONResponse
- type DeleteCurrentUserPasskeyRequestObject
- type DeleteCurrentUserPasskeyResponseObject
- type DeleteInternalOrganization204Response
- type DeleteInternalOrganization400JSONResponse
- type DeleteInternalOrganization401JSONResponse
- type DeleteInternalOrganization403JSONResponse
- type DeleteInternalOrganization404JSONResponse
- type DeleteInternalOrganization409JSONResponse
- type DeleteInternalOrganization500JSONResponse
- type DeleteInternalOrganizationJSONRequestBody
- type DeleteInternalOrganizationRequestObject
- type DeleteInternalOrganizationResponseObject
- type DeleteInternalUser204Response
- type DeleteInternalUser400JSONResponse
- type DeleteInternalUser401JSONResponse
- type DeleteInternalUser404JSONResponse
- type DeleteInternalUser409JSONResponse
- type DeleteInternalUser500JSONResponse
- type DeleteInternalUserRequestObject
- type DeleteInternalUserResponseObject
- type EmailChangeRequest
- type Error
- type ErrorJSONResponse
- type ErrorResponse
- type FinishPasskeyAuthentication200HeadersResponse
- type FinishPasskeyAuthentication200JSONResponse
- type FinishPasskeyAuthentication400JSONResponse
- type FinishPasskeyAuthentication401JSONResponse
- type FinishPasskeyAuthentication403JSONResponse
- type FinishPasskeyAuthentication429JSONResponse
- type FinishPasskeyAuthentication500JSONResponse
- type FinishPasskeyAuthenticationJSONRequestBody
- type FinishPasskeyAuthenticationParams
- type FinishPasskeyAuthenticationParamsAudience
- type FinishPasskeyAuthenticationRequestObject
- type FinishPasskeyAuthenticationResponseObject
- type FinishPasskeyReauthentication204Response
- type FinishPasskeyReauthentication400JSONResponse
- type FinishPasskeyReauthentication401JSONResponse
- type FinishPasskeyReauthentication409JSONResponse
- type FinishPasskeyReauthentication429JSONResponse
- type FinishPasskeyReauthentication500JSONResponse
- type FinishPasskeyReauthenticationJSONRequestBody
- type FinishPasskeyReauthenticationRequestObject
- type FinishPasskeyReauthenticationResponseObject
- type FinishPasskeyRegistration204Response
- type FinishPasskeyRegistration400JSONResponse
- type FinishPasskeyRegistration401JSONResponse
- type FinishPasskeyRegistration403JSONResponse
- type FinishPasskeyRegistration409JSONResponse
- type FinishPasskeyRegistration422JSONResponse
- type FinishPasskeyRegistration428JSONResponse
- type FinishPasskeyRegistration500JSONResponse
- type FinishPasskeyRegistrationJSONRequestBody
- type FinishPasskeyRegistrationRequestObject
- type FinishPasskeyRegistrationResponseObject
- type GetAppleLoginOptions200HeadersResponse
- type GetAppleLoginOptions200JSONResponse
- type GetAppleLoginOptions404JSONResponse
- type GetAppleLoginOptions500JSONResponse
- type GetAppleLoginOptionsRequestObject
- type GetAppleLoginOptionsResponseObject
- type GetCsrfToken200HeadersResponse
- type GetCsrfToken200JSONResponse
- type GetCsrfToken500JSONResponse
- type GetCsrfTokenRequestObject
- type GetCsrfTokenResponseObject
- type GetCurrentAccount200JSONResponse
- type GetCurrentAccount400JSONResponse
- type GetCurrentAccount401JSONResponse
- type GetCurrentAccount500JSONResponse
- type GetCurrentAccountParams
- type GetCurrentAccountRequestObject
- type GetCurrentAccountResponseObject
- type GetCurrentOrganization200JSONResponse
- type GetCurrentOrganization401JSONResponse
- type GetCurrentOrganization500JSONResponse
- type GetCurrentOrganizationRequestObject
- type GetCurrentOrganizationResponseObject
- type GetCurrentUser200JSONResponse
- type GetCurrentUser401JSONResponse
- type GetCurrentUser500JSONResponse
- type GetCurrentUserRequestObject
- type GetCurrentUserResponseObject
- type GetGoogleLoginOptions200HeadersResponse
- type GetGoogleLoginOptions200JSONResponse
- type GetGoogleLoginOptions404JSONResponse
- type GetGoogleLoginOptions500JSONResponse
- type GetGoogleLoginOptionsRequestObject
- type GetGoogleLoginOptionsResponseObject
- type GetPublicCapabilities200JSONResponse
- type GetPublicCapabilities401JSONResponse
- type GetPublicCapabilities500JSONResponse
- type GetPublicCapabilitiesRequestObject
- type GetPublicCapabilitiesResponseObject
- type GetPublicOrganization200JSONResponse
- type GetPublicOrganization400JSONResponse
- type GetPublicOrganization401JSONResponse
- type GetPublicOrganization403JSONResponse
- type GetPublicOrganization404JSONResponse
- type GetPublicOrganization500JSONResponse
- type GetPublicOrganizationInvitation200JSONResponse
- type GetPublicOrganizationInvitation400JSONResponse
- type GetPublicOrganizationInvitation401JSONResponse
- type GetPublicOrganizationInvitation403JSONResponse
- type GetPublicOrganizationInvitation404JSONResponse
- type GetPublicOrganizationInvitation500JSONResponse
- type GetPublicOrganizationInvitationRequestObject
- type GetPublicOrganizationInvitationResponseObject
- type GetPublicOrganizationMember200JSONResponse
- type GetPublicOrganizationMember400JSONResponse
- type GetPublicOrganizationMember401JSONResponse
- type GetPublicOrganizationMember403JSONResponse
- type GetPublicOrganizationMember404JSONResponse
- type GetPublicOrganizationMember500JSONResponse
- type GetPublicOrganizationMemberRequestObject
- type GetPublicOrganizationMemberResponseObject
- type GetPublicOrganizationRequestObject
- type GetPublicOrganizationResponseObject
- type GoogleLoginOptions
- type GoogleLoginRequest
- type GoogleReauthenticationRequest
- type InternalCreateInvitationRequest
- type InternalCreateOrganizationRequest
- type InternalOrganizationActorRequest
- type InternalOwnershipTransferRequest
- type InternalUpdateOrganizationMemberRequest
- type InvalidParamFormatError
- type InvitationGoogleRequest
- type InvitationGoogleRequestFlow
- type InvitationGoogleResult
- type InvitationGoogleResultStatus
- type InvitationID
- type InvitationPasswordLoginRequest
- type InvitationPreview
- type InvitationTokenRequest
- type Limit
- type LinkCurrentUserApple204HeadersResponse
- type LinkCurrentUserApple204Response
- type LinkCurrentUserApple400JSONResponse
- type LinkCurrentUserApple401JSONResponse
- type LinkCurrentUserApple403JSONResponse
- type LinkCurrentUserApple404JSONResponse
- type LinkCurrentUserApple409JSONResponse
- type LinkCurrentUserApple428JSONResponse
- type LinkCurrentUserApple500JSONResponse
- type LinkCurrentUserAppleJSONRequestBody
- type LinkCurrentUserAppleRequestObject
- type LinkCurrentUserAppleResponseObject
- type LinkCurrentUserGoogle204HeadersResponse
- type LinkCurrentUserGoogle204Response
- type LinkCurrentUserGoogle400JSONResponse
- type LinkCurrentUserGoogle401JSONResponse
- type LinkCurrentUserGoogle403JSONResponse
- type LinkCurrentUserGoogle404JSONResponse
- type LinkCurrentUserGoogle409JSONResponse
- type LinkCurrentUserGoogle428JSONResponse
- type LinkCurrentUserGoogle500JSONResponse
- type LinkCurrentUserGoogleJSONRequestBody
- type LinkCurrentUserGoogleRequestObject
- type LinkCurrentUserGoogleResponseObject
- type ListCurrentOrganizationMembers200JSONResponse
- type ListCurrentOrganizationMembers400JSONResponse
- type ListCurrentOrganizationMembers401JSONResponse
- type ListCurrentOrganizationMembers403JSONResponse
- type ListCurrentOrganizationMembers500JSONResponse
- type ListCurrentOrganizationMembersParams
- type ListCurrentOrganizationMembersRequestObject
- type ListCurrentOrganizationMembersResponseObject
- type ListCurrentUserOrganizations200JSONResponse
- type ListCurrentUserOrganizations400JSONResponse
- type ListCurrentUserOrganizations401JSONResponse
- type ListCurrentUserOrganizations500JSONResponse
- type ListCurrentUserOrganizationsParams
- type ListCurrentUserOrganizationsRequestObject
- type ListCurrentUserOrganizationsResponseObject
- type ListPublicOrganizationInvitations200JSONResponse
- type ListPublicOrganizationInvitations400JSONResponse
- type ListPublicOrganizationInvitations401JSONResponse
- type ListPublicOrganizationInvitations403JSONResponse
- type ListPublicOrganizationInvitations404JSONResponse
- type ListPublicOrganizationInvitations500JSONResponse
- type ListPublicOrganizationInvitationsParams
- type ListPublicOrganizationInvitationsRequestObject
- type ListPublicOrganizationInvitationsResponseObject
- type ListPublicOrganizationMembers200JSONResponse
- type ListPublicOrganizationMembers400JSONResponse
- type ListPublicOrganizationMembers401JSONResponse
- type ListPublicOrganizationMembers403JSONResponse
- type ListPublicOrganizationMembers404JSONResponse
- type ListPublicOrganizationMembers500JSONResponse
- type ListPublicOrganizationMembersParams
- type ListPublicOrganizationMembersRequestObject
- type ListPublicOrganizationMembersResponseObject
- type ListPublicUserMemberships200JSONResponse
- type ListPublicUserMemberships400JSONResponse
- type ListPublicUserMemberships401JSONResponse
- type ListPublicUserMemberships403JSONResponse
- type ListPublicUserMemberships404JSONResponse
- type ListPublicUserMemberships500JSONResponse
- type ListPublicUserMembershipsParams
- type ListPublicUserMembershipsRequestObject
- type ListPublicUserMembershipsResponseObject
- type LoginAndAcceptInvitation200HeadersResponse
- type LoginAndAcceptInvitation200JSONResponse
- type LoginAndAcceptInvitation400JSONResponse
- type LoginAndAcceptInvitation401JSONResponse
- type LoginAndAcceptInvitation403JSONResponse
- type LoginAndAcceptInvitation404JSONResponse
- type LoginAndAcceptInvitation409JSONResponse
- type LoginAndAcceptInvitation429JSONResponse
- type LoginAndAcceptInvitation500JSONResponse
- type LoginAndAcceptInvitationJSONRequestBody
- type LoginAndAcceptInvitationParams
- type LoginAndAcceptInvitationParamsAudience
- type LoginAndAcceptInvitationRequestObject
- type LoginAndAcceptInvitationResponseObject
- type LoginWithApple200HeadersResponse
- type LoginWithApple200JSONResponse
- type LoginWithApple400JSONResponse
- type LoginWithApple401JSONResponse
- type LoginWithApple403JSONResponse
- type LoginWithApple404JSONResponse
- type LoginWithApple409JSONResponse
- type LoginWithApple500JSONResponse
- type LoginWithAppleJSONRequestBody
- type LoginWithAppleParams
- type LoginWithAppleParamsAudience
- type LoginWithAppleRequestObject
- type LoginWithAppleResponseObject
- type LoginWithGoogle200HeadersResponse
- type LoginWithGoogle200JSONResponse
- type LoginWithGoogle400JSONResponse
- type LoginWithGoogle401JSONResponse
- type LoginWithGoogle403JSONResponse
- type LoginWithGoogle404JSONResponse
- type LoginWithGoogle409JSONResponse
- type LoginWithGoogle500JSONResponse
- type LoginWithGoogleJSONRequestBody
- type LoginWithGoogleParams
- type LoginWithGoogleParamsAudience
- type LoginWithGoogleRequestObject
- type LoginWithGoogleResponseObject
- type LoginWithPassword200HeadersResponse
- type LoginWithPassword200JSONResponse
- type LoginWithPassword400JSONResponse
- type LoginWithPassword401JSONResponse
- type LoginWithPassword403JSONResponse
- type LoginWithPassword429JSONResponse
- type LoginWithPassword500JSONResponse
- type LoginWithPasswordJSONRequestBody
- type LoginWithPasswordParams
- type LoginWithPasswordParamsAudience
- type LoginWithPasswordRequestObject
- type LoginWithPasswordResponseObject
- type Logout204HeadersResponse
- type Logout204Response
- type Logout403JSONResponse
- type Logout500JSONResponse
- type LogoutRequestObject
- type LogoutResponseObject
- type Membership
- type MembershipWithOrganization
- type MiddlewareFunc
- type Organization
- type OrganizationEnvelope
- type OrganizationID
- type OrganizationInvitation
- type OrganizationInvitationEnvelope
- type OrganizationInvitationRole
- type OrganizationInvitationStatus
- type OrganizationInvitations
- type OrganizationKind
- type OrganizationMember
- type OrganizationMemberEnvelope
- type OrganizationMemberRole
- type OrganizationMembers
- type OrganizationRole
- type OrganizationSummaries
- type OrganizationSummary
- type OrganizationWithMembership
- type PasskeyAuthenticationFinishRequest
- type PasskeyID
- type PasskeyOptions
- type PasskeyReauthenticationFinishRequest
- type PasskeyRegistrationFinishRequest
- type PasskeysCursor
- type PasskeysLimit
- type PasswordLoginRequest
- type PasswordReauthenticationRequest
- type PasswordResetChallengeVerification
- type PasswordResetRequest
- type PreviewInvitation200JSONResponse
- type PreviewInvitation400JSONResponse
- type PreviewInvitation403JSONResponse
- type PreviewInvitation404JSONResponse
- type PreviewInvitation500JSONResponse
- type PreviewInvitationParams
- type PreviewInvitationRequestObject
- type PreviewInvitationResponseObject
- type ProviderLinkID
- type ReauthenticateWithApple204HeadersResponse
- type ReauthenticateWithApple204Response
- type ReauthenticateWithApple400JSONResponse
- type ReauthenticateWithApple401JSONResponse
- type ReauthenticateWithApple404JSONResponse
- type ReauthenticateWithApple409JSONResponse
- type ReauthenticateWithApple500JSONResponse
- type ReauthenticateWithAppleJSONRequestBody
- type ReauthenticateWithAppleRequestObject
- type ReauthenticateWithAppleResponseObject
- type ReauthenticateWithGoogle204HeadersResponse
- type ReauthenticateWithGoogle204Response
- type ReauthenticateWithGoogle400JSONResponse
- type ReauthenticateWithGoogle401JSONResponse
- type ReauthenticateWithGoogle404JSONResponse
- type ReauthenticateWithGoogle409JSONResponse
- type ReauthenticateWithGoogle500JSONResponse
- type ReauthenticateWithGoogleJSONRequestBody
- type ReauthenticateWithGoogleRequestObject
- type ReauthenticateWithGoogleResponseObject
- type ReauthenticateWithPassword204Response
- type ReauthenticateWithPassword400JSONResponse
- type ReauthenticateWithPassword401JSONResponse
- type ReauthenticateWithPassword409JSONResponse
- type ReauthenticateWithPassword429JSONResponse
- type ReauthenticateWithPassword500JSONResponse
- type ReauthenticateWithPasswordJSONRequestBody
- type ReauthenticateWithPasswordRequestObject
- type ReauthenticateWithPasswordResponseObject
- type RefreshSession200HeadersResponse
- type RefreshSession200Response
- type RefreshSession400JSONResponse
- type RefreshSession401HeadersResponse
- type RefreshSession401JSONResponse
- type RefreshSession500JSONResponse
- type RefreshSessionParams
- type RefreshSessionParamsAudience
- type RefreshSessionRequestObject
- type RefreshSessionResponseObject
- type RefreshTokens200JSONResponse
- type RefreshTokens400JSONResponse
- type RefreshTokens401JSONResponse
- type RefreshTokens500JSONResponse
- type RefreshTokensJSONRequestBody
- type RefreshTokensRequestObject
- type RefreshTokensResponseObject
- type RemoveInternalOrganizationMember204Response
- type RemoveInternalOrganizationMember400JSONResponse
- type RemoveInternalOrganizationMember401JSONResponse
- type RemoveInternalOrganizationMember403JSONResponse
- type RemoveInternalOrganizationMember404JSONResponse
- type RemoveInternalOrganizationMember409JSONResponse
- type RemoveInternalOrganizationMember500JSONResponse
- type RemoveInternalOrganizationMemberJSONRequestBody
- type RemoveInternalOrganizationMemberRequestObject
- type RemoveInternalOrganizationMemberResponseObject
- type RequiredHeaderError
- type RequiredParamError
- type ResendChallenge204Response
- type ResendChallenge400JSONResponse
- type ResendChallenge403JSONResponse
- type ResendChallenge429JSONResponse
- type ResendChallenge500JSONResponse
- type ResendChallengeJSONRequestBody
- type ResendChallengeRequestObject
- type ResendChallengeResponseObject
- type ResendInternalOrganizationInvitation201JSONResponse
- type ResendInternalOrganizationInvitation400JSONResponse
- type ResendInternalOrganizationInvitation401JSONResponse
- type ResendInternalOrganizationInvitation403JSONResponse
- type ResendInternalOrganizationInvitation404JSONResponse
- type ResendInternalOrganizationInvitation409JSONResponse
- type ResendInternalOrganizationInvitation500JSONResponse
- type ResendInternalOrganizationInvitationRequestObject
- type ResendInternalOrganizationInvitationResponseObject
- type Response
- type RevokeCurrentUserOtherSessions204Response
- type RevokeCurrentUserOtherSessions401JSONResponse
- type RevokeCurrentUserOtherSessions403JSONResponse
- type RevokeCurrentUserOtherSessions500JSONResponse
- type RevokeCurrentUserOtherSessionsRequestObject
- type RevokeCurrentUserOtherSessionsResponseObject
- type RevokeCurrentUserSession204Response
- type RevokeCurrentUserSession400JSONResponse
- type RevokeCurrentUserSession401JSONResponse
- type RevokeCurrentUserSession403JSONResponse
- type RevokeCurrentUserSession404JSONResponse
- type RevokeCurrentUserSession500JSONResponse
- type RevokeCurrentUserSessionRequestObject
- type RevokeCurrentUserSessionResponseObject
- type RevokePublicOrganizationInvitation200JSONResponse
- type RevokePublicOrganizationInvitation400JSONResponse
- type RevokePublicOrganizationInvitation401JSONResponse
- type RevokePublicOrganizationInvitation403JSONResponse
- type RevokePublicOrganizationInvitation404JSONResponse
- type RevokePublicOrganizationInvitation409JSONResponse
- type RevokePublicOrganizationInvitation428JSONResponse
- type RevokePublicOrganizationInvitation500JSONResponse
- type RevokePublicOrganizationInvitationRequestObject
- type RevokePublicOrganizationInvitationResponseObject
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AcceptInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddCurrentUserPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AuthenticateAndAcceptInvitationWithGoogle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BeginPasskeyAuthentication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BeginPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BeginPasskeyRegistration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangeCurrentUserPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangeCurrentUsername(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckRecentAuthentication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithApple(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithGoogle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateInternalOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteCurrentUserPasskey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteInternalOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteInternalUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FinishPasskeyAuthentication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FinishPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAppleLoginOptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCsrfToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCurrentAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCurrentOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCurrentUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGoogleLoginOptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPublicCapabilities(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPublicOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPublicOrganizationInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LinkCurrentUserApple(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LinkCurrentUserGoogle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCurrentOrganizationMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCurrentUserOrganizations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPublicOrganizationInvitations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPublicOrganizationMembers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPublicUserMemberships(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LoginAndAcceptInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LoginWithApple(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LoginWithGoogle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LoginWithPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReauthenticateWithApple(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReauthenticateWithGoogle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReauthenticateWithPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RefreshSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RefreshTokens(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveInternalOrganizationMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResendChallenge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResendInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeCurrentUserOtherSessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeCurrentUserSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokePublicOrganizationInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetCurrentUserPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SignupDirect(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartGoogleAccountRecoveryLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartSignupChallenge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SwitchOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TransferInternalOrganizationOwnership(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnlinkCurrentUserAuthMethod(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateInternalOrganizationMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdatePublicOrganization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdatePublicOrganizationMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) VerifyCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) VerifyPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) VerifySignupChallenge(w http.ResponseWriter, r *http.Request)
- type SessionID
- type SessionsCursor
- type SessionsLimit
- type SetCurrentUserPassword204Response
- type SetCurrentUserPassword400JSONResponse
- type SetCurrentUserPassword401JSONResponse
- type SetCurrentUserPassword403JSONResponse
- type SetCurrentUserPassword409JSONResponse
- type SetCurrentUserPassword428JSONResponse
- type SetCurrentUserPassword500JSONResponse
- type SetCurrentUserPasswordJSONRequestBody
- type SetCurrentUserPasswordRequestObject
- type SetCurrentUserPasswordResponseObject
- type SetPasswordRequest
- type SignupChallenge
- type SignupChallengeVerification
- type SignupDirect201HeadersResponse
- type SignupDirect201JSONResponse
- type SignupDirect400JSONResponse
- type SignupDirect403JSONResponse
- type SignupDirect404JSONResponse
- type SignupDirect429JSONResponse
- type SignupDirect500JSONResponse
- type SignupDirectJSONRequestBody
- type SignupDirectParams
- type SignupDirectParamsAudience
- type SignupDirectRequestObject
- type SignupDirectResponseObject
- type SignupRequest
- type StartCurrentUserEmailChange202JSONResponse
- type StartCurrentUserEmailChange400JSONResponse
- type StartCurrentUserEmailChange401JSONResponse
- type StartCurrentUserEmailChange403JSONResponse
- type StartCurrentUserEmailChange404JSONResponse
- type StartCurrentUserEmailChange428JSONResponse
- type StartCurrentUserEmailChange500JSONResponse
- type StartCurrentUserEmailChangeJSONRequestBody
- type StartCurrentUserEmailChangeRequestObject
- type StartCurrentUserEmailChangeResponseObject
- type StartGoogleAccountRecoveryLink202HeadersResponse
- type StartGoogleAccountRecoveryLink202JSONResponse
- type StartGoogleAccountRecoveryLink400JSONResponse
- type StartGoogleAccountRecoveryLink401JSONResponse
- type StartGoogleAccountRecoveryLink403JSONResponse
- type StartGoogleAccountRecoveryLink404JSONResponse
- type StartGoogleAccountRecoveryLink409JSONResponse
- type StartGoogleAccountRecoveryLink500JSONResponse
- type StartGoogleAccountRecoveryLinkJSONRequestBody
- type StartGoogleAccountRecoveryLinkRequestObject
- type StartGoogleAccountRecoveryLinkResponseObject
- type StartPasswordResetChallenge202JSONResponse
- type StartPasswordResetChallenge400JSONResponse
- type StartPasswordResetChallenge403JSONResponse
- type StartPasswordResetChallenge429JSONResponse
- type StartPasswordResetChallenge500JSONResponse
- type StartPasswordResetChallengeJSONRequestBody
- type StartPasswordResetChallengeRequestObject
- type StartPasswordResetChallengeResponseObject
- type StartSignupChallenge202JSONResponse
- type StartSignupChallenge400JSONResponse
- type StartSignupChallenge403JSONResponse
- type StartSignupChallenge404JSONResponse
- type StartSignupChallenge429JSONResponse
- type StartSignupChallenge500JSONResponse
- type StartSignupChallengeJSONRequestBody
- type StartSignupChallengeParams
- type StartSignupChallengeParamsAudience
- type StartSignupChallengeRequestObject
- type StartSignupChallengeResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type SwitchOrganization200HeadersResponse
- type SwitchOrganization200JSONResponse
- type SwitchOrganization400JSONResponse
- type SwitchOrganization401JSONResponse
- type SwitchOrganization403JSONResponse
- type SwitchOrganization500JSONResponse
- type SwitchOrganizationParams
- type SwitchOrganizationParamsAudience
- type SwitchOrganizationRequestObject
- type SwitchOrganizationResponseObject
- type TokenRefreshRequest
- type TokenRefreshRequestAudience
- type Tokens
- type TooManyValuesForParamError
- type TransferInternalOrganizationOwnership204Response
- type TransferInternalOrganizationOwnership400JSONResponse
- type TransferInternalOrganizationOwnership401JSONResponse
- type TransferInternalOrganizationOwnership403JSONResponse
- type TransferInternalOrganizationOwnership404JSONResponse
- type TransferInternalOrganizationOwnership409JSONResponse
- type TransferInternalOrganizationOwnership500JSONResponse
- type TransferInternalOrganizationOwnershipJSONRequestBody
- type TransferInternalOrganizationOwnershipRequestObject
- type TransferInternalOrganizationOwnershipResponseObject
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) AcceptInvitation(w http.ResponseWriter, r *http.Request, params AcceptInvitationParams)
- func (_ Unimplemented) AddCurrentUserPassword(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) AuthenticateAndAcceptInvitationWithGoogle(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) BeginPasskeyAuthentication(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) BeginPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) BeginPasskeyRegistration(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ChangeCurrentUserPassword(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ChangeCurrentUsername(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CheckRecentAuthentication(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CompleteAccountRecoveryLinkWithApple(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, ...)
- func (_ Unimplemented) CompleteAccountRecoveryLinkWithGoogle(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, ...)
- func (_ Unimplemented) CompleteAccountRecoveryLinkWithPassword(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, ...)
- func (_ Unimplemented) CreateInternalOrganization(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
- func (_ Unimplemented) DeleteCurrentUserPasskey(w http.ResponseWriter, r *http.Request, passkeyID PasskeyID)
- func (_ Unimplemented) DeleteInternalOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
- func (_ Unimplemented) DeleteInternalUser(w http.ResponseWriter, r *http.Request, userID UserID)
- func (_ Unimplemented) FinishPasskeyAuthentication(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) FinishPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetAppleLoginOptions(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetCsrfToken(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetCurrentAccount(w http.ResponseWriter, r *http.Request, params GetCurrentAccountParams)
- func (_ Unimplemented) GetCurrentOrganization(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetCurrentUser(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetGoogleLoginOptions(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetPublicCapabilities(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) GetPublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
- func (_ Unimplemented) GetPublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) LinkCurrentUserApple(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) LinkCurrentUserGoogle(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ListCurrentOrganizationMembers(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) ListCurrentUserOrganizations(w http.ResponseWriter, r *http.Request, ...)
- func (_ Unimplemented) ListPublicOrganizationInvitations(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) ListPublicOrganizationMembers(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) ListPublicUserMemberships(w http.ResponseWriter, r *http.Request, userID UserID, ...)
- func (_ Unimplemented) LoginAndAcceptInvitation(w http.ResponseWriter, r *http.Request, params LoginAndAcceptInvitationParams)
- func (_ Unimplemented) LoginWithApple(w http.ResponseWriter, r *http.Request, params LoginWithAppleParams)
- func (_ Unimplemented) LoginWithGoogle(w http.ResponseWriter, r *http.Request, params LoginWithGoogleParams)
- func (_ Unimplemented) LoginWithPassword(w http.ResponseWriter, r *http.Request, params LoginWithPasswordParams)
- func (_ Unimplemented) Logout(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PreviewInvitation(w http.ResponseWriter, r *http.Request, params PreviewInvitationParams)
- func (_ Unimplemented) ReauthenticateWithApple(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ReauthenticateWithGoogle(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ReauthenticateWithPassword(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) RefreshSession(w http.ResponseWriter, r *http.Request, params RefreshSessionParams)
- func (_ Unimplemented) RefreshTokens(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) RemoveInternalOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) ResendChallenge(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ResendInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) RevokeCurrentUserOtherSessions(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) RevokeCurrentUserSession(w http.ResponseWriter, r *http.Request, sessionID SessionID)
- func (_ Unimplemented) RevokePublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) SetCurrentUserPassword(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SignupDirect(w http.ResponseWriter, r *http.Request, params SignupDirectParams)
- func (_ Unimplemented) StartCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StartGoogleAccountRecoveryLink(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StartPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StartSignupChallenge(w http.ResponseWriter, r *http.Request, params StartSignupChallengeParams)
- func (_ Unimplemented) SwitchOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) TransferInternalOrganizationOwnership(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
- func (_ Unimplemented) UnlinkCurrentUserAuthMethod(w http.ResponseWriter, r *http.Request, provider AuthProvider)
- func (_ Unimplemented) UpdateInternalOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) UpdatePublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
- func (_ Unimplemented) UpdatePublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, ...)
- func (_ Unimplemented) VerifyCurrentUserEmailChange(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) VerifyPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) VerifySignupChallenge(w http.ResponseWriter, r *http.Request, params VerifySignupChallengeParams)
- type UnlinkCurrentUserAuthMethod204Response
- type UnlinkCurrentUserAuthMethod400JSONResponse
- type UnlinkCurrentUserAuthMethod401JSONResponse
- type UnlinkCurrentUserAuthMethod404JSONResponse
- type UnlinkCurrentUserAuthMethod409JSONResponse
- type UnlinkCurrentUserAuthMethod428JSONResponse
- type UnlinkCurrentUserAuthMethod500JSONResponse
- type UnlinkCurrentUserAuthMethodRequestObject
- type UnlinkCurrentUserAuthMethodResponseObject
- type UnmarshalingParamError
- type UpdateInternalOrganizationMember200JSONResponse
- type UpdateInternalOrganizationMember400JSONResponse
- type UpdateInternalOrganizationMember401JSONResponse
- type UpdateInternalOrganizationMember403JSONResponse
- type UpdateInternalOrganizationMember404JSONResponse
- type UpdateInternalOrganizationMember409JSONResponse
- type UpdateInternalOrganizationMember500JSONResponse
- type UpdateInternalOrganizationMemberJSONRequestBody
- type UpdateInternalOrganizationMemberRequestObject
- type UpdateInternalOrganizationMemberResponseObject
- type UpdateOrganizationMemberRequest
- type UpdateOrganizationRequest
- type UpdatePublicOrganization200JSONResponse
- type UpdatePublicOrganization400JSONResponse
- type UpdatePublicOrganization401JSONResponse
- type UpdatePublicOrganization403JSONResponse
- type UpdatePublicOrganization404JSONResponse
- type UpdatePublicOrganization428JSONResponse
- type UpdatePublicOrganization500JSONResponse
- type UpdatePublicOrganizationJSONRequestBody
- type UpdatePublicOrganizationMember200JSONResponse
- type UpdatePublicOrganizationMember400JSONResponse
- type UpdatePublicOrganizationMember401JSONResponse
- type UpdatePublicOrganizationMember403JSONResponse
- type UpdatePublicOrganizationMember404JSONResponse
- type UpdatePublicOrganizationMember409JSONResponse
- type UpdatePublicOrganizationMember428JSONResponse
- type UpdatePublicOrganizationMember500JSONResponse
- type UpdatePublicOrganizationMemberJSONRequestBody
- type UpdatePublicOrganizationMemberRequestObject
- type UpdatePublicOrganizationMemberResponseObject
- type UpdatePublicOrganizationRequestObject
- type UpdatePublicOrganizationResponseObject
- type UserID
- type UserMemberships
- type VerifyCurrentUserEmailChange204Response
- type VerifyCurrentUserEmailChange400JSONResponse
- type VerifyCurrentUserEmailChange401JSONResponse
- type VerifyCurrentUserEmailChange403JSONResponse
- type VerifyCurrentUserEmailChange404JSONResponse
- type VerifyCurrentUserEmailChange428JSONResponse
- type VerifyCurrentUserEmailChange429JSONResponse
- type VerifyCurrentUserEmailChange500JSONResponse
- type VerifyCurrentUserEmailChangeJSONRequestBody
- type VerifyCurrentUserEmailChangeRequestObject
- type VerifyCurrentUserEmailChangeResponseObject
- type VerifyPasswordResetChallenge204Response
- type VerifyPasswordResetChallenge400JSONResponse
- type VerifyPasswordResetChallenge403JSONResponse
- type VerifyPasswordResetChallenge429JSONResponse
- type VerifyPasswordResetChallenge500JSONResponse
- type VerifyPasswordResetChallengeJSONRequestBody
- type VerifyPasswordResetChallengeRequestObject
- type VerifyPasswordResetChallengeResponseObject
- type VerifySignupChallenge201HeadersResponse
- type VerifySignupChallenge201JSONResponse
- type VerifySignupChallenge400JSONResponse
- type VerifySignupChallenge403JSONResponse
- type VerifySignupChallenge404JSONResponse
- type VerifySignupChallenge429JSONResponse
- type VerifySignupChallenge500JSONResponse
- type VerifySignupChallengeJSONRequestBody
- type VerifySignupChallengeParams
- type VerifySignupChallengeParamsAudience
- type VerifySignupChallengeRequestObject
- type VerifySignupChallengeResponseObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorCodeAllowed ¶
func GetSpec ¶
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 ¶
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 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 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 PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func ValidationMiddleware ¶
func ValidationMiddleware(logger *slog.Logger, validateResponses bool) func(http.Handler) http.Handler
ValidationMiddleware validates every public and internal API request against the document embedded in generated.go. Responses are validated only when validateResponses is true so production responses can be written directly.
Types ¶
type AcceptInvitation200HeadersResponse ¶ added in v0.16.0
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
func (e AcceptInvitationParamsAudience) Valid() bool
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"`
PasskeysNextCursor *string `json:"passkeys_next_cursor,omitempty"`
Sessions []AccountSession `json:"sessions"`
SessionsNextCursor *string `json:"sessions_next_cursor,omitempty"`
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 AccountRecoveryAppleProofRequest ¶ added in v0.22.0
type AccountRecoveryAppleProofRequest struct {
Code string `json:"code"`
InvitationToken *string `json:"invitation_token,omitempty"`
State string `json:"state"`
}
AccountRecoveryAppleProofRequest defines model for AccountRecoveryAppleProofRequest.
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 ¶ added in v0.16.0
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 ( AccountRecoveryLinkProofMethodsApple AccountRecoveryLinkProofMethods = "apple" AccountRecoveryLinkProofMethodsGoogle AccountRecoveryLinkProofMethods = "google" AccountRecoveryLinkProofMethodsPassword AccountRecoveryLinkProofMethods = "password" )
Defines values for AccountRecoveryLinkProofMethods.
func (AccountRecoveryLinkProofMethods) Valid ¶ added in v0.16.0
func (e AccountRecoveryLinkProofMethods) Valid() bool
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 AddCurrentUserPassword428JSONResponse ¶ added in v0.22.0
type AddCurrentUserPassword428JSONResponse ErrorResponse
func (AddCurrentUserPassword428JSONResponse) VisitAddCurrentUserPasswordResponse ¶ added in v0.22.0
func (response AddCurrentUserPassword428JSONResponse) 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 AppleAuthorizationRequest ¶ added in v0.22.0
type AppleAuthorizationRequest struct {
Code string `json:"code"`
InvitationToken *string `json:"invitation_token,omitempty"`
State string `json:"state"`
}
AppleAuthorizationRequest defines model for AppleAuthorizationRequest.
type AppleLoginOptions ¶ added in v0.22.0
type AppleLoginOptions struct {
ClientId string `json:"client_id"`
Nonce string `json:"nonce"`
RedirectUri string `json:"redirect_uri"`
State string `json:"state"`
}
AppleLoginOptions defines model for AppleLoginOptions.
type AppleReauthenticationRequest ¶ added in v0.22.0
type AppleReauthenticationRequest struct {
AuthenticationChallengeId openapi_types.UUID `json:"authentication_challenge_id"`
Code string `json:"code"`
State string `json:"state"`
}
AppleReauthenticationRequest defines model for AppleReauthenticationRequest.
type Audience ¶
type Audience string
Audience defines model for Audience.
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 ( AuthMethodProviderApple AuthMethodProvider = "apple" 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 ( AuthProviderApple AuthProvider = "apple" 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"`
EmailVerified bool `json:"email_verified"`
EmailVerifiedAt *time.Time `json:"email_verified_at,omitempty"`
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
func (e AuthenticateAndAcceptInvitationWithGoogleParamsAudience) Valid() bool
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 AuthenticationChallenge ¶ added in v0.22.0
type AuthenticationChallenge struct {
ExpiresAt time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
}
AuthenticationChallenge defines model for AuthenticationChallenge.
type AuthenticationChallengeReference ¶ added in v0.22.0
type AuthenticationChallengeReference struct {
AuthenticationChallengeId openapi_types.UUID `json:"authentication_challenge_id"`
}
AuthenticationChallengeReference defines model for AuthenticationChallengeReference.
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 BeginPasskeyReauthentication200JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication200JSONResponse PasskeyOptions
func (BeginPasskeyReauthentication200JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication200JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthentication400JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication400JSONResponse struct{ ErrorJSONResponse }
func (BeginPasskeyReauthentication400JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication400JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthentication401JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication401JSONResponse ErrorResponse
func (BeginPasskeyReauthentication401JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication401JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthentication404JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication404JSONResponse ErrorResponse
func (BeginPasskeyReauthentication404JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication404JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthentication409JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication409JSONResponse ErrorResponse
func (BeginPasskeyReauthentication409JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication409JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthentication429JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication429JSONResponse ErrorResponse
func (BeginPasskeyReauthentication429JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication429JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthentication500JSONResponse ¶ added in v0.22.0
type BeginPasskeyReauthentication500JSONResponse ErrorResponse
func (BeginPasskeyReauthentication500JSONResponse) VisitBeginPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response BeginPasskeyReauthentication500JSONResponse) VisitBeginPasskeyReauthenticationResponse(w http.ResponseWriter) error
type BeginPasskeyReauthenticationJSONRequestBody ¶ added in v0.22.0
type BeginPasskeyReauthenticationJSONRequestBody = AuthenticationChallengeReference
BeginPasskeyReauthenticationJSONRequestBody defines body for BeginPasskeyReauthentication for application/json ContentType.
type BeginPasskeyReauthenticationRequestObject ¶ added in v0.22.0
type BeginPasskeyReauthenticationRequestObject struct {
Body *BeginPasskeyReauthenticationJSONRequestBody
}
type BeginPasskeyReauthenticationResponseObject ¶ added in v0.22.0
type BeginPasskeyReauthenticationResponseObject interface {
VisitBeginPasskeyReauthenticationResponse(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 BeginPasskeyRegistration428JSONResponse ¶ added in v0.22.0
type BeginPasskeyRegistration428JSONResponse ErrorResponse
func (BeginPasskeyRegistration428JSONResponse) VisitBeginPasskeyRegistrationResponse ¶ added in v0.22.0
func (response BeginPasskeyRegistration428JSONResponse) 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 ¶
func (e CapabilitiesOrganizationMode) Valid() bool
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 CheckRecentAuthentication204Response ¶ added in v0.22.0
type CheckRecentAuthentication204Response struct {
}
func (CheckRecentAuthentication204Response) VisitCheckRecentAuthenticationResponse ¶ added in v0.22.0
func (response CheckRecentAuthentication204Response) VisitCheckRecentAuthenticationResponse(w http.ResponseWriter) error
type CheckRecentAuthentication401JSONResponse ¶ added in v0.22.0
type CheckRecentAuthentication401JSONResponse struct{ ErrorJSONResponse }
func (CheckRecentAuthentication401JSONResponse) VisitCheckRecentAuthenticationResponse ¶ added in v0.22.0
func (response CheckRecentAuthentication401JSONResponse) VisitCheckRecentAuthenticationResponse(w http.ResponseWriter) error
type CheckRecentAuthentication403JSONResponse ¶ added in v0.22.0
type CheckRecentAuthentication403JSONResponse ErrorResponse
func (CheckRecentAuthentication403JSONResponse) VisitCheckRecentAuthenticationResponse ¶ added in v0.22.0
func (response CheckRecentAuthentication403JSONResponse) VisitCheckRecentAuthenticationResponse(w http.ResponseWriter) error
type CheckRecentAuthentication428JSONResponse ¶ added in v0.22.0
type CheckRecentAuthentication428JSONResponse ErrorResponse
func (CheckRecentAuthentication428JSONResponse) VisitCheckRecentAuthenticationResponse ¶ added in v0.22.0
func (response CheckRecentAuthentication428JSONResponse) VisitCheckRecentAuthenticationResponse(w http.ResponseWriter) error
type CheckRecentAuthentication500JSONResponse ¶ added in v0.22.0
type CheckRecentAuthentication500JSONResponse ErrorResponse
func (CheckRecentAuthentication500JSONResponse) VisitCheckRecentAuthenticationResponse ¶ added in v0.22.0
func (response CheckRecentAuthentication500JSONResponse) VisitCheckRecentAuthenticationResponse(w http.ResponseWriter) error
type CheckRecentAuthenticationRequestObject ¶ added in v0.22.0
type CheckRecentAuthenticationRequestObject struct {
}
type CheckRecentAuthenticationResponseObject ¶ added in v0.22.0
type CheckRecentAuthenticationResponseObject interface {
VisitCheckRecentAuthenticationResponse(w http.ResponseWriter) error
}
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type CompleteAccountRecoveryLinkWithApple200HeadersResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple200HeadersResponse struct {
Header http.Header
Body AuthSession
}
func (CompleteAccountRecoveryLinkWithApple200HeadersResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (r CompleteAccountRecoveryLinkWithApple200HeadersResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple200JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple200JSONResponse AuthSession
func (CompleteAccountRecoveryLinkWithApple200JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple200JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple400JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple400JSONResponse struct{ ErrorJSONResponse }
func (CompleteAccountRecoveryLinkWithApple400JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple400JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple401JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple401JSONResponse ErrorResponse
func (CompleteAccountRecoveryLinkWithApple401JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple401JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple403JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple403JSONResponse ErrorResponse
func (CompleteAccountRecoveryLinkWithApple403JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple403JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple404JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple404JSONResponse ErrorResponse
func (CompleteAccountRecoveryLinkWithApple404JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple404JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple409JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple409JSONResponse ErrorResponse
func (CompleteAccountRecoveryLinkWithApple409JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple409JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithApple500JSONResponse ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithApple500JSONResponse ErrorResponse
func (CompleteAccountRecoveryLinkWithApple500JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse ¶ added in v0.22.0
func (response CompleteAccountRecoveryLinkWithApple500JSONResponse) VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) error
type CompleteAccountRecoveryLinkWithAppleJSONRequestBody ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithAppleJSONRequestBody = AccountRecoveryAppleProofRequest
CompleteAccountRecoveryLinkWithAppleJSONRequestBody defines body for CompleteAccountRecoveryLinkWithApple for application/json ContentType.
type CompleteAccountRecoveryLinkWithAppleParams ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithAppleParams struct {
Audience *CompleteAccountRecoveryLinkWithAppleParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}
CompleteAccountRecoveryLinkWithAppleParams defines parameters for CompleteAccountRecoveryLinkWithApple.
type CompleteAccountRecoveryLinkWithAppleParamsAudience ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithAppleParamsAudience string
CompleteAccountRecoveryLinkWithAppleParamsAudience defines parameters for CompleteAccountRecoveryLinkWithApple.
const (
CompleteAccountRecoveryLinkWithAppleParamsAudienceApp CompleteAccountRecoveryLinkWithAppleParamsAudience = "app"
)
Defines values for CompleteAccountRecoveryLinkWithAppleParamsAudience.
func (CompleteAccountRecoveryLinkWithAppleParamsAudience) Valid ¶ added in v0.22.0
func (e CompleteAccountRecoveryLinkWithAppleParamsAudience) Valid() bool
Valid indicates whether the value is a known member of the CompleteAccountRecoveryLinkWithAppleParamsAudience enum.
type CompleteAccountRecoveryLinkWithAppleRequestObject ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithAppleRequestObject struct {
LinkID ProviderLinkID `json:"linkID"`
Params CompleteAccountRecoveryLinkWithAppleParams
Body *CompleteAccountRecoveryLinkWithAppleJSONRequestBody
}
type CompleteAccountRecoveryLinkWithAppleResponseObject ¶ added in v0.22.0
type CompleteAccountRecoveryLinkWithAppleResponseObject interface {
VisitCompleteAccountRecoveryLinkWithAppleResponse(w http.ResponseWriter) 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
func (e CompleteAccountRecoveryLinkWithGoogleParamsAudience) Valid() bool
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
func (e CompleteAccountRecoveryLinkWithPasswordParamsAudience) Valid() bool
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"`
NextCursor *string `json:"next_cursor,omitempty"`
}
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"`
EmailVerified bool `json:"email_verified"`
EmailVerifiedAt *time.Time `json:"email_verified_at,omitempty"`
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" AutharaOperator CurrentUserRoles = "authara:operator" )
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 DeleteCurrentUserPasskey428JSONResponse ¶ added in v0.22.0
type DeleteCurrentUserPasskey428JSONResponse ErrorResponse
func (DeleteCurrentUserPasskey428JSONResponse) VisitDeleteCurrentUserPasskeyResponse ¶ added in v0.22.0
func (response DeleteCurrentUserPasskey428JSONResponse) 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 ErrorJSONResponse ¶
type ErrorJSONResponse ErrorResponse
type ErrorResponse ¶
type ErrorResponse struct {
AuthenticationChallenge *AuthenticationChallenge `json:"authentication_challenge,omitempty"`
Error APIError `json:"error"`
ReauthenticateUrl *string `json:"reauthenticate_url,omitempty"`
}
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" FinishPasskeyAuthenticationParamsAudienceOperator FinishPasskeyAuthenticationParamsAudience = "operator" )
Defines values for FinishPasskeyAuthenticationParamsAudience.
func (FinishPasskeyAuthenticationParamsAudience) Valid ¶
func (e FinishPasskeyAuthenticationParamsAudience) Valid() bool
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 FinishPasskeyReauthentication204Response ¶ added in v0.22.0
type FinishPasskeyReauthentication204Response struct {
}
func (FinishPasskeyReauthentication204Response) VisitFinishPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response FinishPasskeyReauthentication204Response) VisitFinishPasskeyReauthenticationResponse(w http.ResponseWriter) error
type FinishPasskeyReauthentication400JSONResponse ¶ added in v0.22.0
type FinishPasskeyReauthentication400JSONResponse struct{ ErrorJSONResponse }
func (FinishPasskeyReauthentication400JSONResponse) VisitFinishPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response FinishPasskeyReauthentication400JSONResponse) VisitFinishPasskeyReauthenticationResponse(w http.ResponseWriter) error
type FinishPasskeyReauthentication401JSONResponse ¶ added in v0.22.0
type FinishPasskeyReauthentication401JSONResponse ErrorResponse
func (FinishPasskeyReauthentication401JSONResponse) VisitFinishPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response FinishPasskeyReauthentication401JSONResponse) VisitFinishPasskeyReauthenticationResponse(w http.ResponseWriter) error
type FinishPasskeyReauthentication409JSONResponse ¶ added in v0.22.0
type FinishPasskeyReauthentication409JSONResponse ErrorResponse
func (FinishPasskeyReauthentication409JSONResponse) VisitFinishPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response FinishPasskeyReauthentication409JSONResponse) VisitFinishPasskeyReauthenticationResponse(w http.ResponseWriter) error
type FinishPasskeyReauthentication429JSONResponse ¶ added in v0.22.0
type FinishPasskeyReauthentication429JSONResponse ErrorResponse
func (FinishPasskeyReauthentication429JSONResponse) VisitFinishPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response FinishPasskeyReauthentication429JSONResponse) VisitFinishPasskeyReauthenticationResponse(w http.ResponseWriter) error
type FinishPasskeyReauthentication500JSONResponse ¶ added in v0.22.0
type FinishPasskeyReauthentication500JSONResponse ErrorResponse
func (FinishPasskeyReauthentication500JSONResponse) VisitFinishPasskeyReauthenticationResponse ¶ added in v0.22.0
func (response FinishPasskeyReauthentication500JSONResponse) VisitFinishPasskeyReauthenticationResponse(w http.ResponseWriter) error
type FinishPasskeyReauthenticationJSONRequestBody ¶ added in v0.22.0
type FinishPasskeyReauthenticationJSONRequestBody = PasskeyReauthenticationFinishRequest
FinishPasskeyReauthenticationJSONRequestBody defines body for FinishPasskeyReauthentication for application/json ContentType.
type FinishPasskeyReauthenticationRequestObject ¶ added in v0.22.0
type FinishPasskeyReauthenticationRequestObject struct {
Body *FinishPasskeyReauthenticationJSONRequestBody
}
type FinishPasskeyReauthenticationResponseObject ¶ added in v0.22.0
type FinishPasskeyReauthenticationResponseObject interface {
VisitFinishPasskeyReauthenticationResponse(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 FinishPasskeyRegistration428JSONResponse ¶ added in v0.22.0
type FinishPasskeyRegistration428JSONResponse ErrorResponse
func (FinishPasskeyRegistration428JSONResponse) VisitFinishPasskeyRegistrationResponse ¶ added in v0.22.0
func (response FinishPasskeyRegistration428JSONResponse) 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 GetAppleLoginOptions200HeadersResponse ¶ added in v0.22.0
type GetAppleLoginOptions200HeadersResponse struct {
Header http.Header
Body AppleLoginOptions
}
func (GetAppleLoginOptions200HeadersResponse) VisitGetAppleLoginOptionsResponse ¶ added in v0.22.0
func (r GetAppleLoginOptions200HeadersResponse) VisitGetAppleLoginOptionsResponse(w http.ResponseWriter) error
type GetAppleLoginOptions200JSONResponse ¶ added in v0.22.0
type GetAppleLoginOptions200JSONResponse AppleLoginOptions
func (GetAppleLoginOptions200JSONResponse) VisitGetAppleLoginOptionsResponse ¶ added in v0.22.0
func (response GetAppleLoginOptions200JSONResponse) VisitGetAppleLoginOptionsResponse(w http.ResponseWriter) error
type GetAppleLoginOptions404JSONResponse ¶ added in v0.22.0
type GetAppleLoginOptions404JSONResponse struct{ ErrorJSONResponse }
func (GetAppleLoginOptions404JSONResponse) VisitGetAppleLoginOptionsResponse ¶ added in v0.22.0
func (response GetAppleLoginOptions404JSONResponse) VisitGetAppleLoginOptionsResponse(w http.ResponseWriter) error
type GetAppleLoginOptions500JSONResponse ¶ added in v0.22.0
type GetAppleLoginOptions500JSONResponse ErrorResponse
func (GetAppleLoginOptions500JSONResponse) VisitGetAppleLoginOptionsResponse ¶ added in v0.22.0
func (response GetAppleLoginOptions500JSONResponse) VisitGetAppleLoginOptionsResponse(w http.ResponseWriter) error
type GetAppleLoginOptionsRequestObject ¶ added in v0.22.0
type GetAppleLoginOptionsRequestObject struct {
}
type GetAppleLoginOptionsResponseObject ¶ added in v0.22.0
type GetAppleLoginOptionsResponseObject interface {
VisitGetAppleLoginOptionsResponse(w http.ResponseWriter) error
}
type GetCsrfToken200HeadersResponse ¶
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 GetCurrentAccount400JSONResponse ¶ added in v0.22.0
type GetCurrentAccount400JSONResponse struct{ ErrorJSONResponse }
func (GetCurrentAccount400JSONResponse) VisitGetCurrentAccountResponse ¶ added in v0.22.0
func (response GetCurrentAccount400JSONResponse) VisitGetCurrentAccountResponse(w http.ResponseWriter) error
type GetCurrentAccount401JSONResponse ¶ added in v0.16.0
type GetCurrentAccount401JSONResponse ErrorResponse
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 GetCurrentAccountParams ¶ added in v0.22.0
type GetCurrentAccountParams struct {
// SessionsCursor Opaque cursor for the active-session collection.
SessionsCursor *SessionsCursor `form:"sessions_cursor,omitempty" json:"sessions_cursor,omitempty"`
SessionsLimit *SessionsLimit `form:"sessions_limit,omitempty" json:"sessions_limit,omitempty"`
// PasskeysCursor Opaque cursor for the passkey collection.
PasskeysCursor *PasskeysCursor `form:"passkeys_cursor,omitempty" json:"passkeys_cursor,omitempty"`
PasskeysLimit *PasskeysLimit `form:"passkeys_limit,omitempty" json:"passkeys_limit,omitempty"`
}
GetCurrentAccountParams defines parameters for GetCurrentAccount.
type GetCurrentAccountRequestObject ¶ added in v0.16.0
type GetCurrentAccountRequestObject struct {
Params GetCurrentAccountParams
}
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 ¶
GoogleLoginOptions defines model for GoogleLoginOptions.
type GoogleLoginRequest ¶
type GoogleLoginRequest struct {
Credential string `json:"credential"`
Nonce string `json:"nonce"`
}
GoogleLoginRequest defines model for GoogleLoginRequest.
type GoogleReauthenticationRequest ¶ added in v0.22.0
type GoogleReauthenticationRequest struct {
AuthenticationChallengeId openapi_types.UUID `json:"authentication_challenge_id"`
Credential string `json:"credential"`
Nonce string `json:"nonce"`
}
GoogleReauthenticationRequest defines model for GoogleReauthenticationRequest.
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 InternalUpdateOrganizationMemberRequest ¶ added in v0.22.0
type InternalUpdateOrganizationMemberRequest struct {
ActorUserId openapi_types.UUID `json:"actor_user_id"`
// Role Mutable member role. Ownership changes use the ownership-transfer operation.
Role OrganizationMemberRole `json:"role"`
}
InternalUpdateOrganizationMemberRequest defines model for InternalUpdateOrganizationMemberRequest.
type InvalidParamFormatError ¶
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
func (e InvitationGoogleRequestFlow) Valid() bool
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
func (e InvitationGoogleResultStatus) Valid() bool
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 LinkCurrentUserApple204HeadersResponse ¶ added in v0.22.0
func (LinkCurrentUserApple204HeadersResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (r LinkCurrentUserApple204HeadersResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple204Response ¶ added in v0.22.0
type LinkCurrentUserApple204Response struct {
}
func (LinkCurrentUserApple204Response) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple204Response) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple400JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple400JSONResponse struct{ ErrorJSONResponse }
func (LinkCurrentUserApple400JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple400JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple401JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple401JSONResponse ErrorResponse
func (LinkCurrentUserApple401JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple401JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple403JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple403JSONResponse ErrorResponse
func (LinkCurrentUserApple403JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple403JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple404JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple404JSONResponse ErrorResponse
func (LinkCurrentUserApple404JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple404JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple409JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple409JSONResponse ErrorResponse
func (LinkCurrentUserApple409JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple409JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple428JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple428JSONResponse ErrorResponse
func (LinkCurrentUserApple428JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple428JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserApple500JSONResponse ¶ added in v0.22.0
type LinkCurrentUserApple500JSONResponse ErrorResponse
func (LinkCurrentUserApple500JSONResponse) VisitLinkCurrentUserAppleResponse ¶ added in v0.22.0
func (response LinkCurrentUserApple500JSONResponse) VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
type LinkCurrentUserAppleJSONRequestBody ¶ added in v0.22.0
type LinkCurrentUserAppleJSONRequestBody = AppleAuthorizationRequest
LinkCurrentUserAppleJSONRequestBody defines body for LinkCurrentUserApple for application/json ContentType.
type LinkCurrentUserAppleRequestObject ¶ added in v0.22.0
type LinkCurrentUserAppleRequestObject struct {
Body *LinkCurrentUserAppleJSONRequestBody
}
type LinkCurrentUserAppleResponseObject ¶ added in v0.22.0
type LinkCurrentUserAppleResponseObject interface {
VisitLinkCurrentUserAppleResponse(w http.ResponseWriter) error
}
type LinkCurrentUserGoogle204HeadersResponse ¶ added in v0.16.0
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 LinkCurrentUserGoogle428JSONResponse ¶ added in v0.22.0
type LinkCurrentUserGoogle428JSONResponse ErrorResponse
func (LinkCurrentUserGoogle428JSONResponse) VisitLinkCurrentUserGoogleResponse ¶ added in v0.22.0
func (response LinkCurrentUserGoogle428JSONResponse) 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 ListCurrentOrganizationMembers400JSONResponse ¶ added in v0.22.0
type ListCurrentOrganizationMembers400JSONResponse struct{ ErrorJSONResponse }
func (ListCurrentOrganizationMembers400JSONResponse) VisitListCurrentOrganizationMembersResponse ¶ added in v0.22.0
func (response ListCurrentOrganizationMembers400JSONResponse) VisitListCurrentOrganizationMembersResponse(w http.ResponseWriter) error
type ListCurrentOrganizationMembers401JSONResponse ¶
type ListCurrentOrganizationMembers401JSONResponse ErrorResponse
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 ListCurrentOrganizationMembersParams ¶ added in v0.22.0
type ListCurrentOrganizationMembersParams struct {
// Cursor Opaque cursor returned by the preceding page.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of collection items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCurrentOrganizationMembersParams defines parameters for ListCurrentOrganizationMembers.
type ListCurrentOrganizationMembersRequestObject ¶
type ListCurrentOrganizationMembersRequestObject struct {
Params ListCurrentOrganizationMembersParams
}
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 ListCurrentUserOrganizations400JSONResponse ¶ added in v0.22.0
type ListCurrentUserOrganizations400JSONResponse struct{ ErrorJSONResponse }
func (ListCurrentUserOrganizations400JSONResponse) VisitListCurrentUserOrganizationsResponse ¶ added in v0.22.0
func (response ListCurrentUserOrganizations400JSONResponse) VisitListCurrentUserOrganizationsResponse(w http.ResponseWriter) error
type ListCurrentUserOrganizations401JSONResponse ¶
type ListCurrentUserOrganizations401JSONResponse ErrorResponse
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 ListCurrentUserOrganizationsParams ¶ added in v0.22.0
type ListCurrentUserOrganizationsParams struct {
// Cursor Opaque cursor returned by the preceding page.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of collection items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCurrentUserOrganizationsParams defines parameters for ListCurrentUserOrganizations.
type ListCurrentUserOrganizationsRequestObject ¶
type ListCurrentUserOrganizationsRequestObject struct {
Params ListCurrentUserOrganizationsParams
}
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 ListPublicOrganizationInvitationsParams ¶ added in v0.22.0
type ListPublicOrganizationInvitationsParams struct {
// Cursor Opaque cursor returned by the preceding page.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of collection items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPublicOrganizationInvitationsParams defines parameters for ListPublicOrganizationInvitations.
type ListPublicOrganizationInvitationsRequestObject ¶
type ListPublicOrganizationInvitationsRequestObject struct {
OrganizationID OrganizationID `json:"organizationID"`
Params ListPublicOrganizationInvitationsParams
}
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 ListPublicOrganizationMembersParams ¶ added in v0.22.0
type ListPublicOrganizationMembersParams struct {
// Cursor Opaque cursor returned by the preceding page.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of collection items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPublicOrganizationMembersParams defines parameters for ListPublicOrganizationMembers.
type ListPublicOrganizationMembersRequestObject ¶
type ListPublicOrganizationMembersRequestObject struct {
OrganizationID OrganizationID `json:"organizationID"`
Params ListPublicOrganizationMembersParams
}
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 ListPublicUserMembershipsParams ¶ added in v0.22.0
type ListPublicUserMembershipsParams struct {
// Cursor Opaque cursor returned by the preceding page.
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of collection items to return.
Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPublicUserMembershipsParams defines parameters for ListPublicUserMemberships.
type ListPublicUserMembershipsRequestObject ¶
type ListPublicUserMembershipsRequestObject struct {
UserID UserID `json:"userID"`
Params ListPublicUserMembershipsParams
}
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
func (e LoginAndAcceptInvitationParamsAudience) Valid() bool
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 LoginWithApple200HeadersResponse ¶ added in v0.22.0
type LoginWithApple200HeadersResponse struct {
Header http.Header
Body AuthSession
}
func (LoginWithApple200HeadersResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (r LoginWithApple200HeadersResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple200JSONResponse ¶ added in v0.22.0
type LoginWithApple200JSONResponse AuthSession
func (LoginWithApple200JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple200JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple400JSONResponse ¶ added in v0.22.0
type LoginWithApple400JSONResponse struct{ ErrorJSONResponse }
func (LoginWithApple400JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple400JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple401JSONResponse ¶ added in v0.22.0
type LoginWithApple401JSONResponse ErrorResponse
func (LoginWithApple401JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple401JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple403JSONResponse ¶ added in v0.22.0
type LoginWithApple403JSONResponse ErrorResponse
func (LoginWithApple403JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple403JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple404JSONResponse ¶ added in v0.22.0
type LoginWithApple404JSONResponse ErrorResponse
func (LoginWithApple404JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple404JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple409JSONResponse ¶ added in v0.22.0
type LoginWithApple409JSONResponse ErrorResponse
func (LoginWithApple409JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple409JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithApple500JSONResponse ¶ added in v0.22.0
type LoginWithApple500JSONResponse ErrorResponse
func (LoginWithApple500JSONResponse) VisitLoginWithAppleResponse ¶ added in v0.22.0
func (response LoginWithApple500JSONResponse) VisitLoginWithAppleResponse(w http.ResponseWriter) error
type LoginWithAppleJSONRequestBody ¶ added in v0.22.0
type LoginWithAppleJSONRequestBody = AppleAuthorizationRequest
LoginWithAppleJSONRequestBody defines body for LoginWithApple for application/json ContentType.
type LoginWithAppleParams ¶ added in v0.22.0
type LoginWithAppleParams struct {
Audience *LoginWithAppleParamsAudience `form:"audience,omitempty" json:"audience,omitempty"`
}
LoginWithAppleParams defines parameters for LoginWithApple.
type LoginWithAppleParamsAudience ¶ added in v0.22.0
type LoginWithAppleParamsAudience string
LoginWithAppleParamsAudience defines parameters for LoginWithApple.
const ( LoginWithAppleParamsAudienceAdmin LoginWithAppleParamsAudience = "admin" LoginWithAppleParamsAudienceApp LoginWithAppleParamsAudience = "app" LoginWithAppleParamsAudienceOperator LoginWithAppleParamsAudience = "operator" )
Defines values for LoginWithAppleParamsAudience.
func (LoginWithAppleParamsAudience) Valid ¶ added in v0.22.0
func (e LoginWithAppleParamsAudience) Valid() bool
Valid indicates whether the value is a known member of the LoginWithAppleParamsAudience enum.
type LoginWithAppleRequestObject ¶ added in v0.22.0
type LoginWithAppleRequestObject struct {
Params LoginWithAppleParams
Body *LoginWithAppleJSONRequestBody
}
type LoginWithAppleResponseObject ¶ added in v0.22.0
type LoginWithAppleResponseObject interface {
VisitLoginWithAppleResponse(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" LoginWithGoogleParamsAudienceOperator LoginWithGoogleParamsAudience = "operator" )
Defines values for LoginWithGoogleParamsAudience.
func (LoginWithGoogleParamsAudience) Valid ¶
func (e LoginWithGoogleParamsAudience) Valid() bool
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" LoginWithPasswordParamsAudienceOperator LoginWithPasswordParamsAudience = "operator" )
Defines values for LoginWithPasswordParamsAudience.
func (LoginWithPasswordParamsAudience) Valid ¶
func (e LoginWithPasswordParamsAudience) Valid() bool
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 ¶
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 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 ¶
func (e OrganizationInvitationStatus) Valid() bool
Valid indicates whether the value is a known member of the OrganizationInvitationStatus enum.
type OrganizationInvitations ¶
type OrganizationInvitations struct {
Invitations []OrganizationInvitation `json:"invitations"`
NextCursor *string `json:"next_cursor,omitempty"`
}
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 OrganizationMemberRole ¶ added in v0.22.0
type OrganizationMemberRole string
OrganizationMemberRole Mutable member role. Ownership changes use the ownership-transfer operation.
const ( OrganizationMemberRoleAdmin OrganizationMemberRole = "admin" OrganizationMemberRoleMember OrganizationMemberRole = "member" )
Defines values for OrganizationMemberRole.
func (OrganizationMemberRole) Valid ¶ added in v0.22.0
func (e OrganizationMemberRole) Valid() bool
Valid indicates whether the value is a known member of the OrganizationMemberRole enum.
type OrganizationMembers ¶
type OrganizationMembers struct {
Members []OrganizationMember `json:"members"`
NextCursor *string `json:"next_cursor,omitempty"`
}
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 {
NextCursor *string `json:"next_cursor,omitempty"`
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 PasskeyReauthenticationFinishRequest ¶ added in v0.22.0
type PasskeyReauthenticationFinishRequest struct {
AuthenticationChallengeId openapi_types.UUID `json:"authentication_challenge_id"`
ChallengeId openapi_types.UUID `json:"challenge_id"`
Credential map[string]interface{} `json:"credential"`
}
PasskeyReauthenticationFinishRequest defines model for PasskeyReauthenticationFinishRequest.
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 PasskeysCursor ¶ added in v0.22.0
type PasskeysCursor = string
PasskeysCursor defines model for PasskeysCursor.
type PasskeysLimit ¶ added in v0.22.0
type PasskeysLimit = int
PasskeysLimit defines model for PasskeysLimit.
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 PasswordReauthenticationRequest ¶ added in v0.22.0
type PasswordReauthenticationRequest struct {
AuthenticationChallengeId openapi_types.UUID `json:"authentication_challenge_id"`
Password string `json:"password"`
}
PasswordReauthenticationRequest defines model for PasswordReauthenticationRequest.
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 ReauthenticateWithApple204HeadersResponse ¶ added in v0.22.0
func (ReauthenticateWithApple204HeadersResponse) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (r ReauthenticateWithApple204HeadersResponse) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithApple204Response ¶ added in v0.22.0
type ReauthenticateWithApple204Response struct {
}
func (ReauthenticateWithApple204Response) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (response ReauthenticateWithApple204Response) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithApple400JSONResponse ¶ added in v0.22.0
type ReauthenticateWithApple400JSONResponse struct{ ErrorJSONResponse }
func (ReauthenticateWithApple400JSONResponse) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (response ReauthenticateWithApple400JSONResponse) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithApple401JSONResponse ¶ added in v0.22.0
type ReauthenticateWithApple401JSONResponse ErrorResponse
func (ReauthenticateWithApple401JSONResponse) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (response ReauthenticateWithApple401JSONResponse) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithApple404JSONResponse ¶ added in v0.22.0
type ReauthenticateWithApple404JSONResponse ErrorResponse
func (ReauthenticateWithApple404JSONResponse) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (response ReauthenticateWithApple404JSONResponse) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithApple409JSONResponse ¶ added in v0.22.0
type ReauthenticateWithApple409JSONResponse ErrorResponse
func (ReauthenticateWithApple409JSONResponse) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (response ReauthenticateWithApple409JSONResponse) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithApple500JSONResponse ¶ added in v0.22.0
type ReauthenticateWithApple500JSONResponse ErrorResponse
func (ReauthenticateWithApple500JSONResponse) VisitReauthenticateWithAppleResponse ¶ added in v0.22.0
func (response ReauthenticateWithApple500JSONResponse) VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
type ReauthenticateWithAppleJSONRequestBody ¶ added in v0.22.0
type ReauthenticateWithAppleJSONRequestBody = AppleReauthenticationRequest
ReauthenticateWithAppleJSONRequestBody defines body for ReauthenticateWithApple for application/json ContentType.
type ReauthenticateWithAppleRequestObject ¶ added in v0.22.0
type ReauthenticateWithAppleRequestObject struct {
Body *ReauthenticateWithAppleJSONRequestBody
}
type ReauthenticateWithAppleResponseObject ¶ added in v0.22.0
type ReauthenticateWithAppleResponseObject interface {
VisitReauthenticateWithAppleResponse(w http.ResponseWriter) error
}
type ReauthenticateWithGoogle204HeadersResponse ¶ added in v0.22.0
func (ReauthenticateWithGoogle204HeadersResponse) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (r ReauthenticateWithGoogle204HeadersResponse) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogle204Response ¶ added in v0.22.0
type ReauthenticateWithGoogle204Response struct {
}
func (ReauthenticateWithGoogle204Response) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (response ReauthenticateWithGoogle204Response) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogle400JSONResponse ¶ added in v0.22.0
type ReauthenticateWithGoogle400JSONResponse struct{ ErrorJSONResponse }
func (ReauthenticateWithGoogle400JSONResponse) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (response ReauthenticateWithGoogle400JSONResponse) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogle401JSONResponse ¶ added in v0.22.0
type ReauthenticateWithGoogle401JSONResponse ErrorResponse
func (ReauthenticateWithGoogle401JSONResponse) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (response ReauthenticateWithGoogle401JSONResponse) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogle404JSONResponse ¶ added in v0.22.0
type ReauthenticateWithGoogle404JSONResponse ErrorResponse
func (ReauthenticateWithGoogle404JSONResponse) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (response ReauthenticateWithGoogle404JSONResponse) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogle409JSONResponse ¶ added in v0.22.0
type ReauthenticateWithGoogle409JSONResponse ErrorResponse
func (ReauthenticateWithGoogle409JSONResponse) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (response ReauthenticateWithGoogle409JSONResponse) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogle500JSONResponse ¶ added in v0.22.0
type ReauthenticateWithGoogle500JSONResponse ErrorResponse
func (ReauthenticateWithGoogle500JSONResponse) VisitReauthenticateWithGoogleResponse ¶ added in v0.22.0
func (response ReauthenticateWithGoogle500JSONResponse) VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
type ReauthenticateWithGoogleJSONRequestBody ¶ added in v0.22.0
type ReauthenticateWithGoogleJSONRequestBody = GoogleReauthenticationRequest
ReauthenticateWithGoogleJSONRequestBody defines body for ReauthenticateWithGoogle for application/json ContentType.
type ReauthenticateWithGoogleRequestObject ¶ added in v0.22.0
type ReauthenticateWithGoogleRequestObject struct {
Body *ReauthenticateWithGoogleJSONRequestBody
}
type ReauthenticateWithGoogleResponseObject ¶ added in v0.22.0
type ReauthenticateWithGoogleResponseObject interface {
VisitReauthenticateWithGoogleResponse(w http.ResponseWriter) error
}
type ReauthenticateWithPassword204Response ¶ added in v0.22.0
type ReauthenticateWithPassword204Response struct {
}
func (ReauthenticateWithPassword204Response) VisitReauthenticateWithPasswordResponse ¶ added in v0.22.0
func (response ReauthenticateWithPassword204Response) VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
type ReauthenticateWithPassword400JSONResponse ¶ added in v0.22.0
type ReauthenticateWithPassword400JSONResponse struct{ ErrorJSONResponse }
func (ReauthenticateWithPassword400JSONResponse) VisitReauthenticateWithPasswordResponse ¶ added in v0.22.0
func (response ReauthenticateWithPassword400JSONResponse) VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
type ReauthenticateWithPassword401JSONResponse ¶ added in v0.22.0
type ReauthenticateWithPassword401JSONResponse ErrorResponse
func (ReauthenticateWithPassword401JSONResponse) VisitReauthenticateWithPasswordResponse ¶ added in v0.22.0
func (response ReauthenticateWithPassword401JSONResponse) VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
type ReauthenticateWithPassword409JSONResponse ¶ added in v0.22.0
type ReauthenticateWithPassword409JSONResponse ErrorResponse
func (ReauthenticateWithPassword409JSONResponse) VisitReauthenticateWithPasswordResponse ¶ added in v0.22.0
func (response ReauthenticateWithPassword409JSONResponse) VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
type ReauthenticateWithPassword429JSONResponse ¶ added in v0.22.0
type ReauthenticateWithPassword429JSONResponse ErrorResponse
func (ReauthenticateWithPassword429JSONResponse) VisitReauthenticateWithPasswordResponse ¶ added in v0.22.0
func (response ReauthenticateWithPassword429JSONResponse) VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
type ReauthenticateWithPassword500JSONResponse ¶ added in v0.22.0
type ReauthenticateWithPassword500JSONResponse ErrorResponse
func (ReauthenticateWithPassword500JSONResponse) VisitReauthenticateWithPasswordResponse ¶ added in v0.22.0
func (response ReauthenticateWithPassword500JSONResponse) VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
type ReauthenticateWithPasswordJSONRequestBody ¶ added in v0.22.0
type ReauthenticateWithPasswordJSONRequestBody = PasswordReauthenticationRequest
ReauthenticateWithPasswordJSONRequestBody defines body for ReauthenticateWithPassword for application/json ContentType.
type ReauthenticateWithPasswordRequestObject ¶ added in v0.22.0
type ReauthenticateWithPasswordRequestObject struct {
Body *ReauthenticateWithPasswordJSONRequestBody
}
type ReauthenticateWithPasswordResponseObject ¶ added in v0.22.0
type ReauthenticateWithPasswordResponseObject interface {
VisitReauthenticateWithPasswordResponse(w http.ResponseWriter) error
}
type RefreshSession200HeadersResponse ¶
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" RefreshSessionParamsAudienceOperator RefreshSessionParamsAudience = "operator" )
Defines values for RefreshSessionParamsAudience.
func (RefreshSessionParamsAudience) Valid ¶
func (e RefreshSessionParamsAudience) Valid() bool
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 ¶
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 ¶
func InternalError ¶
func InternalError() Response
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 RevokePublicOrganizationInvitation428JSONResponse ¶ added in v0.22.0
type RevokePublicOrganizationInvitation428JSONResponse ErrorResponse
func (RevokePublicOrganizationInvitation428JSONResponse) VisitRevokePublicOrganizationInvitationResponse ¶ added in v0.22.0
func (response RevokePublicOrganizationInvitation428JSONResponse) 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, params GetCurrentAccountParams)
// LinkCurrentUserApple Link Apple to the authenticated user's account
// (POST /auth/api/v1/account/auth-methods/apple)
LinkCurrentUserApple(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)
// LoginWithApple Log in with an Apple authorization code
// (POST /auth/api/v1/oauth/apple)
LoginWithApple(w http.ResponseWriter, r *http.Request, params LoginWithAppleParams)
// GetAppleLoginOptions Get Apple login options
// (GET /auth/api/v1/oauth/apple/options)
GetAppleLoginOptions(w http.ResponseWriter, r *http.Request)
// 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, params ListCurrentUserOrganizationsParams)
// 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, params ListCurrentOrganizationMembersParams)
// 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, params ListPublicOrganizationInvitationsParams)
// 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, params ListPublicOrganizationMembersParams)
// GetPublicOrganizationMember Get an organization member
// (GET /auth/api/v1/organizations/{organizationID}/members/{userID})
GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
// UpdatePublicOrganizationMember Update an organization member role
// (PATCH /auth/api/v1/organizations/{organizationID}/members/{userID})
UpdatePublicOrganizationMember(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)
// CompleteAccountRecoveryLinkWithApple Prove ownership with an existing Apple login and finish linking
// (POST /auth/api/v1/provider-links/recovery/{linkID}/apple)
CompleteAccountRecoveryLinkWithApple(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, params CompleteAccountRecoveryLinkWithAppleParams)
// 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)
// ReauthenticateWithApple Reauthenticate the current session with a linked Apple identity
// (POST /auth/api/v1/reauthenticate/apple)
ReauthenticateWithApple(w http.ResponseWriter, r *http.Request)
// CheckRecentAuthentication Require recent authentication for an application action
// (POST /auth/api/v1/reauthenticate/check)
CheckRecentAuthentication(w http.ResponseWriter, r *http.Request)
// ReauthenticateWithGoogle Reauthenticate the current session with a linked Google identity
// (POST /auth/api/v1/reauthenticate/google)
ReauthenticateWithGoogle(w http.ResponseWriter, r *http.Request)
// FinishPasskeyReauthentication Finish passkey reauthentication for the current session
// (POST /auth/api/v1/reauthenticate/passkeys/finish)
FinishPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
// BeginPasskeyReauthentication Start passkey reauthentication for the current session
// (POST /auth/api/v1/reauthenticate/passkeys/options)
BeginPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
// ReauthenticateWithPassword Reauthenticate the current session with a password
// (POST /auth/api/v1/reauthenticate/password)
ReauthenticateWithPassword(w http.ResponseWriter, r *http.Request)
// 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, params ListPublicUserMembershipsParams)
// 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)
// UpdateInternalOrganizationMember Update an organization member role
// (PATCH /auth/internal/v1/organizations/{organizationID}/members/{userID})
UpdateInternalOrganizationMember(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) BeginPasskeyReauthentication ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) BeginPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
BeginPasskeyReauthentication 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) CheckRecentAuthentication ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) CheckRecentAuthentication(w http.ResponseWriter, r *http.Request)
CheckRecentAuthentication operation middleware
func (*ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithApple ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) CompleteAccountRecoveryLinkWithApple(w http.ResponseWriter, r *http.Request)
CompleteAccountRecoveryLinkWithApple 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) FinishPasskeyReauthentication ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) FinishPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
FinishPasskeyReauthentication operation middleware
func (*ServerInterfaceWrapper) FinishPasskeyRegistration ¶
func (siw *ServerInterfaceWrapper) FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)
FinishPasskeyRegistration operation middleware
func (*ServerInterfaceWrapper) GetAppleLoginOptions ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) GetAppleLoginOptions(w http.ResponseWriter, r *http.Request)
GetAppleLoginOptions 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) LinkCurrentUserApple ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) LinkCurrentUserApple(w http.ResponseWriter, r *http.Request)
LinkCurrentUserApple 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) LoginWithApple ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) LoginWithApple(w http.ResponseWriter, r *http.Request)
LoginWithApple 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 ¶
func (siw *ServerInterfaceWrapper) Logout(w http.ResponseWriter, r *http.Request)
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) ReauthenticateWithApple ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) ReauthenticateWithApple(w http.ResponseWriter, r *http.Request)
ReauthenticateWithApple operation middleware
func (*ServerInterfaceWrapper) ReauthenticateWithGoogle ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) ReauthenticateWithGoogle(w http.ResponseWriter, r *http.Request)
ReauthenticateWithGoogle operation middleware
func (*ServerInterfaceWrapper) ReauthenticateWithPassword ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) ReauthenticateWithPassword(w http.ResponseWriter, r *http.Request)
ReauthenticateWithPassword 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 (*ServerInterfaceWrapper) StartGoogleAccountRecoveryLink ¶ added in v0.16.0
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) UpdateInternalOrganizationMember ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) UpdateInternalOrganizationMember(w http.ResponseWriter, r *http.Request)
UpdateInternalOrganizationMember operation middleware
func (*ServerInterfaceWrapper) UpdatePublicOrganization ¶
func (siw *ServerInterfaceWrapper) UpdatePublicOrganization(w http.ResponseWriter, r *http.Request)
UpdatePublicOrganization operation middleware
func (*ServerInterfaceWrapper) UpdatePublicOrganizationMember ¶ added in v0.22.0
func (siw *ServerInterfaceWrapper) UpdatePublicOrganizationMember(w http.ResponseWriter, r *http.Request)
UpdatePublicOrganizationMember 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 SessionsCursor ¶ added in v0.22.0
type SessionsCursor = string
SessionsCursor defines model for SessionsCursor.
type SessionsLimit ¶ added in v0.22.0
type SessionsLimit = int
SessionsLimit defines model for SessionsLimit.
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 SetCurrentUserPassword409JSONResponse ¶ added in v0.22.0
type SetCurrentUserPassword409JSONResponse ErrorResponse
func (SetCurrentUserPassword409JSONResponse) VisitSetCurrentUserPasswordResponse ¶ added in v0.22.0
func (response SetCurrentUserPassword409JSONResponse) VisitSetCurrentUserPasswordResponse(w http.ResponseWriter) error
type SetCurrentUserPassword428JSONResponse ¶ added in v0.22.0
type SetCurrentUserPassword428JSONResponse ErrorResponse
func (SetCurrentUserPassword428JSONResponse) VisitSetCurrentUserPasswordResponse ¶ added in v0.22.0
func (response SetCurrentUserPassword428JSONResponse) 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 StartCurrentUserEmailChange428JSONResponse ¶ added in v0.22.0
type StartCurrentUserEmailChange428JSONResponse ErrorResponse
func (StartCurrentUserEmailChange428JSONResponse) VisitStartCurrentUserEmailChangeResponse ¶ added in v0.22.0
func (response StartCurrentUserEmailChange428JSONResponse) 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 ¶
func (e StartSignupChallengeParamsAudience) Valid() bool
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)
// LinkCurrentUserApple Link Apple to the authenticated user's account
// (POST /auth/api/v1/account/auth-methods/apple)
LinkCurrentUserApple(ctx context.Context, request LinkCurrentUserAppleRequestObject) (LinkCurrentUserAppleResponseObject, 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)
// LoginWithApple Log in with an Apple authorization code
// (POST /auth/api/v1/oauth/apple)
LoginWithApple(ctx context.Context, request LoginWithAppleRequestObject) (LoginWithAppleResponseObject, error)
// GetAppleLoginOptions Get Apple login options
// (GET /auth/api/v1/oauth/apple/options)
GetAppleLoginOptions(ctx context.Context, request GetAppleLoginOptionsRequestObject) (GetAppleLoginOptionsResponseObject, 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)
// UpdatePublicOrganizationMember Update an organization member role
// (PATCH /auth/api/v1/organizations/{organizationID}/members/{userID})
UpdatePublicOrganizationMember(ctx context.Context, request UpdatePublicOrganizationMemberRequestObject) (UpdatePublicOrganizationMemberResponseObject, 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)
// CompleteAccountRecoveryLinkWithApple Prove ownership with an existing Apple login and finish linking
// (POST /auth/api/v1/provider-links/recovery/{linkID}/apple)
CompleteAccountRecoveryLinkWithApple(ctx context.Context, request CompleteAccountRecoveryLinkWithAppleRequestObject) (CompleteAccountRecoveryLinkWithAppleResponseObject, 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)
// ReauthenticateWithApple Reauthenticate the current session with a linked Apple identity
// (POST /auth/api/v1/reauthenticate/apple)
ReauthenticateWithApple(ctx context.Context, request ReauthenticateWithAppleRequestObject) (ReauthenticateWithAppleResponseObject, error)
// CheckRecentAuthentication Require recent authentication for an application action
// (POST /auth/api/v1/reauthenticate/check)
CheckRecentAuthentication(ctx context.Context, request CheckRecentAuthenticationRequestObject) (CheckRecentAuthenticationResponseObject, error)
// ReauthenticateWithGoogle Reauthenticate the current session with a linked Google identity
// (POST /auth/api/v1/reauthenticate/google)
ReauthenticateWithGoogle(ctx context.Context, request ReauthenticateWithGoogleRequestObject) (ReauthenticateWithGoogleResponseObject, error)
// FinishPasskeyReauthentication Finish passkey reauthentication for the current session
// (POST /auth/api/v1/reauthenticate/passkeys/finish)
FinishPasskeyReauthentication(ctx context.Context, request FinishPasskeyReauthenticationRequestObject) (FinishPasskeyReauthenticationResponseObject, error)
// BeginPasskeyReauthentication Start passkey reauthentication for the current session
// (POST /auth/api/v1/reauthenticate/passkeys/options)
BeginPasskeyReauthentication(ctx context.Context, request BeginPasskeyReauthenticationRequestObject) (BeginPasskeyReauthenticationResponseObject, error)
// ReauthenticateWithPassword Reauthenticate the current session with a password
// (POST /auth/api/v1/reauthenticate/password)
ReauthenticateWithPassword(ctx context.Context, request ReauthenticateWithPasswordRequestObject) (ReauthenticateWithPasswordResponseObject, 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)
// UpdateInternalOrganizationMember Update an organization member role
// (PATCH /auth/internal/v1/organizations/{organizationID}/members/{userID})
UpdateInternalOrganizationMember(ctx context.Context, request UpdateInternalOrganizationMemberRequestObject) (UpdateInternalOrganizationMemberResponseObject, 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 ¶
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" SwitchOrganizationParamsAudienceOperator SwitchOrganizationParamsAudience = "operator" )
Defines values for SwitchOrganizationParamsAudience.
func (SwitchOrganizationParamsAudience) Valid ¶
func (e SwitchOrganizationParamsAudience) Valid() bool
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" TokenRefreshRequestAudienceOperator TokenRefreshRequestAudience = "operator" )
Defines values for TokenRefreshRequestAudience.
func (TokenRefreshRequestAudience) Valid ¶
func (e TokenRefreshRequestAudience) Valid() bool
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 ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
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 ¶
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) BeginPasskeyReauthentication ¶ added in v0.22.0
func (_ Unimplemented) BeginPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
BeginPasskeyReauthentication Start passkey reauthentication for the current session (POST /auth/api/v1/reauthenticate/passkeys/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) CheckRecentAuthentication ¶ added in v0.22.0
func (_ Unimplemented) CheckRecentAuthentication(w http.ResponseWriter, r *http.Request)
CheckRecentAuthentication Require recent authentication for an application action (POST /auth/api/v1/reauthenticate/check)
func (Unimplemented) CompleteAccountRecoveryLinkWithApple ¶ added in v0.22.0
func (_ Unimplemented) CompleteAccountRecoveryLinkWithApple(w http.ResponseWriter, r *http.Request, linkID ProviderLinkID, params CompleteAccountRecoveryLinkWithAppleParams)
CompleteAccountRecoveryLinkWithApple Prove ownership with an existing Apple login and finish linking (POST /auth/api/v1/provider-links/recovery/{linkID}/apple)
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) FinishPasskeyReauthentication ¶ added in v0.22.0
func (_ Unimplemented) FinishPasskeyReauthentication(w http.ResponseWriter, r *http.Request)
FinishPasskeyReauthentication Finish passkey reauthentication for the current session (POST /auth/api/v1/reauthenticate/passkeys/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) GetAppleLoginOptions ¶ added in v0.22.0
func (_ Unimplemented) GetAppleLoginOptions(w http.ResponseWriter, r *http.Request)
GetAppleLoginOptions Get Apple login options (GET /auth/api/v1/oauth/apple/options)
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, params GetCurrentAccountParams)
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) LinkCurrentUserApple ¶ added in v0.22.0
func (_ Unimplemented) LinkCurrentUserApple(w http.ResponseWriter, r *http.Request)
LinkCurrentUserApple Link Apple to the authenticated user's account (POST /auth/api/v1/account/auth-methods/apple)
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, params ListCurrentOrganizationMembersParams)
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, params ListCurrentUserOrganizationsParams)
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, params ListPublicOrganizationInvitationsParams)
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, params ListPublicOrganizationMembersParams)
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, params ListPublicUserMembershipsParams)
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) LoginWithApple ¶ added in v0.22.0
func (_ Unimplemented) LoginWithApple(w http.ResponseWriter, r *http.Request, params LoginWithAppleParams)
LoginWithApple Log in with an Apple authorization code (POST /auth/api/v1/oauth/apple)
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) ReauthenticateWithApple ¶ added in v0.22.0
func (_ Unimplemented) ReauthenticateWithApple(w http.ResponseWriter, r *http.Request)
ReauthenticateWithApple Reauthenticate the current session with a linked Apple identity (POST /auth/api/v1/reauthenticate/apple)
func (Unimplemented) ReauthenticateWithGoogle ¶ added in v0.22.0
func (_ Unimplemented) ReauthenticateWithGoogle(w http.ResponseWriter, r *http.Request)
ReauthenticateWithGoogle Reauthenticate the current session with a linked Google identity (POST /auth/api/v1/reauthenticate/google)
func (Unimplemented) ReauthenticateWithPassword ¶ added in v0.22.0
func (_ Unimplemented) ReauthenticateWithPassword(w http.ResponseWriter, r *http.Request)
ReauthenticateWithPassword Reauthenticate the current session with a password (POST /auth/api/v1/reauthenticate/password)
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 ¶ added in v0.16.0
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) UpdateInternalOrganizationMember ¶ added in v0.22.0
func (_ Unimplemented) UpdateInternalOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
UpdateInternalOrganizationMember Update an organization member role (PATCH /auth/internal/v1/organizations/{organizationID}/members/{userID})
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) UpdatePublicOrganizationMember ¶ added in v0.22.0
func (_ Unimplemented) UpdatePublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
UpdatePublicOrganizationMember Update an organization member role (PATCH /auth/api/v1/organizations/{organizationID}/members/{userID})
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 UnlinkCurrentUserAuthMethod428JSONResponse ¶ added in v0.22.0
type UnlinkCurrentUserAuthMethod428JSONResponse ErrorResponse
func (UnlinkCurrentUserAuthMethod428JSONResponse) VisitUnlinkCurrentUserAuthMethodResponse ¶ added in v0.22.0
func (response UnlinkCurrentUserAuthMethod428JSONResponse) 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 ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateInternalOrganizationMember200JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember200JSONResponse OrganizationMemberEnvelope
func (UpdateInternalOrganizationMember200JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember200JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMember400JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember400JSONResponse struct{ ErrorJSONResponse }
func (UpdateInternalOrganizationMember400JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember400JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMember401JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember401JSONResponse ErrorResponse
func (UpdateInternalOrganizationMember401JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember401JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMember403JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember403JSONResponse ErrorResponse
func (UpdateInternalOrganizationMember403JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember403JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMember404JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember404JSONResponse ErrorResponse
func (UpdateInternalOrganizationMember404JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember404JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMember409JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember409JSONResponse ErrorResponse
func (UpdateInternalOrganizationMember409JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember409JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMember500JSONResponse ¶ added in v0.22.0
type UpdateInternalOrganizationMember500JSONResponse ErrorResponse
func (UpdateInternalOrganizationMember500JSONResponse) VisitUpdateInternalOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdateInternalOrganizationMember500JSONResponse) VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
type UpdateInternalOrganizationMemberJSONRequestBody ¶ added in v0.22.0
type UpdateInternalOrganizationMemberJSONRequestBody = InternalUpdateOrganizationMemberRequest
UpdateInternalOrganizationMemberJSONRequestBody defines body for UpdateInternalOrganizationMember for application/json ContentType.
type UpdateInternalOrganizationMemberRequestObject ¶ added in v0.22.0
type UpdateInternalOrganizationMemberRequestObject struct {
OrganizationID OrganizationID `json:"organizationID"`
UserID UserID `json:"userID"`
Body *UpdateInternalOrganizationMemberJSONRequestBody
}
type UpdateInternalOrganizationMemberResponseObject ¶ added in v0.22.0
type UpdateInternalOrganizationMemberResponseObject interface {
VisitUpdateInternalOrganizationMemberResponse(w http.ResponseWriter) error
}
type UpdateOrganizationMemberRequest ¶ added in v0.22.0
type UpdateOrganizationMemberRequest struct {
// Role Mutable member role. Ownership changes use the ownership-transfer operation.
Role OrganizationMemberRole `json:"role"`
}
UpdateOrganizationMemberRequest defines model for UpdateOrganizationMemberRequest.
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 UpdatePublicOrganization428JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganization428JSONResponse ErrorResponse
func (UpdatePublicOrganization428JSONResponse) VisitUpdatePublicOrganizationResponse ¶ added in v0.22.0
func (response UpdatePublicOrganization428JSONResponse) 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 UpdatePublicOrganizationMember200JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember200JSONResponse OrganizationMemberEnvelope
func (UpdatePublicOrganizationMember200JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember200JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember400JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember400JSONResponse struct{ ErrorJSONResponse }
func (UpdatePublicOrganizationMember400JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember400JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember401JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember401JSONResponse ErrorResponse
func (UpdatePublicOrganizationMember401JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember401JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember403JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember403JSONResponse ErrorResponse
func (UpdatePublicOrganizationMember403JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember403JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember404JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember404JSONResponse ErrorResponse
func (UpdatePublicOrganizationMember404JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember404JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember409JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember409JSONResponse ErrorResponse
func (UpdatePublicOrganizationMember409JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember409JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember428JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember428JSONResponse ErrorResponse
func (UpdatePublicOrganizationMember428JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember428JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMember500JSONResponse ¶ added in v0.22.0
type UpdatePublicOrganizationMember500JSONResponse ErrorResponse
func (UpdatePublicOrganizationMember500JSONResponse) VisitUpdatePublicOrganizationMemberResponse ¶ added in v0.22.0
func (response UpdatePublicOrganizationMember500JSONResponse) VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
type UpdatePublicOrganizationMemberJSONRequestBody ¶ added in v0.22.0
type UpdatePublicOrganizationMemberJSONRequestBody = UpdateOrganizationMemberRequest
UpdatePublicOrganizationMemberJSONRequestBody defines body for UpdatePublicOrganizationMember for application/json ContentType.
type UpdatePublicOrganizationMemberRequestObject ¶ added in v0.22.0
type UpdatePublicOrganizationMemberRequestObject struct {
OrganizationID OrganizationID `json:"organizationID"`
UserID UserID `json:"userID"`
Body *UpdatePublicOrganizationMemberJSONRequestBody
}
type UpdatePublicOrganizationMemberResponseObject ¶ added in v0.22.0
type UpdatePublicOrganizationMemberResponseObject interface {
VisitUpdatePublicOrganizationMemberResponse(w http.ResponseWriter) error
}
type UpdatePublicOrganizationRequestObject ¶
type UpdatePublicOrganizationRequestObject struct {
OrganizationID OrganizationID `json:"organizationID"`
Body *UpdatePublicOrganizationJSONRequestBody
}
type UpdatePublicOrganizationResponseObject ¶
type UpdatePublicOrganizationResponseObject interface {
VisitUpdatePublicOrganizationResponse(w http.ResponseWriter) error
}
type UserMemberships ¶
type UserMemberships struct {
Memberships []MembershipWithOrganization `json:"memberships"`
NextCursor *string `json:"next_cursor,omitempty"`
}
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 VerifyCurrentUserEmailChange428JSONResponse ¶ added in v0.22.0
type VerifyCurrentUserEmailChange428JSONResponse ErrorResponse
func (VerifyCurrentUserEmailChange428JSONResponse) VisitVerifyCurrentUserEmailChangeResponse ¶ added in v0.22.0
func (response VerifyCurrentUserEmailChange428JSONResponse) 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 ¶
func (e VerifySignupChallengeParamsAudience) Valid() bool
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
}