openapi

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

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

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCodeAllowed

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

func GetSpec

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

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

func GetSpecJSON

func GetSpecJSON() ([]byte, error)

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

func GetSwagger deprecated

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

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

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

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

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

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

func HandlerFromMuxWithBaseURL

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

func HandlerWithOptions

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

HandlerWithOptions creates http.Handler with additional options

func HeaderWriter

func HeaderWriter(header http.Header) http.ResponseWriter

func MustOperationErrors

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

func PathToRawSpec

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

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

func Request

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

func ValidationMiddleware

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

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

func WithRequest

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

Types

type APIError

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

APIError defines model for APIError.

type AppAudience

type AppAudience string

AppAudience defines model for AppAudience.

const (
	AppAudienceApp AppAudience = "app"
)

Defines values for AppAudience.

func (AppAudience) Valid

func (e AppAudience) Valid() bool

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

type Audience

type Audience string

Audience defines model for Audience.

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

Defines values for Audience.

func (Audience) Valid

func (e Audience) Valid() bool

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

type AuthSession

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

AuthSession defines model for AuthSession.

type AuthUser

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

AuthUser defines model for AuthUser.

type BeginPasskeyAuthentication200JSONResponse

type BeginPasskeyAuthentication200JSONResponse PasskeyOptions

func (BeginPasskeyAuthentication200JSONResponse) VisitBeginPasskeyAuthenticationResponse

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

type BeginPasskeyAuthentication403JSONResponse

type BeginPasskeyAuthentication403JSONResponse struct{ ErrorJSONResponse }

func (BeginPasskeyAuthentication403JSONResponse) VisitBeginPasskeyAuthenticationResponse

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

type BeginPasskeyAuthentication429JSONResponse

type BeginPasskeyAuthentication429JSONResponse ErrorResponse

func (BeginPasskeyAuthentication429JSONResponse) VisitBeginPasskeyAuthenticationResponse

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

type BeginPasskeyAuthentication500JSONResponse

type BeginPasskeyAuthentication500JSONResponse ErrorResponse

func (BeginPasskeyAuthentication500JSONResponse) VisitBeginPasskeyAuthenticationResponse

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

type BeginPasskeyAuthenticationRequestObject

type BeginPasskeyAuthenticationRequestObject struct {
}

type BeginPasskeyAuthenticationResponseObject

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

type BeginPasskeyRegistration200JSONResponse

type BeginPasskeyRegistration200JSONResponse PasskeyOptions

func (BeginPasskeyRegistration200JSONResponse) VisitBeginPasskeyRegistrationResponse

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

type BeginPasskeyRegistration401JSONResponse

type BeginPasskeyRegistration401JSONResponse struct{ ErrorJSONResponse }

func (BeginPasskeyRegistration401JSONResponse) VisitBeginPasskeyRegistrationResponse

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

type BeginPasskeyRegistration403JSONResponse

type BeginPasskeyRegistration403JSONResponse ErrorResponse

func (BeginPasskeyRegistration403JSONResponse) VisitBeginPasskeyRegistrationResponse

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

type BeginPasskeyRegistration500JSONResponse

type BeginPasskeyRegistration500JSONResponse ErrorResponse

func (BeginPasskeyRegistration500JSONResponse) VisitBeginPasskeyRegistrationResponse

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

type BeginPasskeyRegistrationRequestObject

type BeginPasskeyRegistrationRequestObject struct {
}

type BeginPasskeyRegistrationResponseObject

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

type CSRFToken

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

CSRFToken defines model for CSRFToken.

type Capabilities

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

Capabilities defines model for Capabilities.

type CapabilitiesOrganizationMode

type CapabilitiesOrganizationMode string

CapabilitiesOrganizationMode defines model for Capabilities.OrganizationMode.

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

Defines values for CapabilitiesOrganizationMode.

func (CapabilitiesOrganizationMode) Valid

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

type ChallengeReference

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

ChallengeReference defines model for ChallengeReference.

type ChiServerOptions

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

type CreateInternalOrganization201JSONResponse

type CreateInternalOrganization201JSONResponse OrganizationWithMembership

func (CreateInternalOrganization201JSONResponse) VisitCreateInternalOrganizationResponse

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

type CreateInternalOrganization400JSONResponse

type CreateInternalOrganization400JSONResponse struct{ ErrorJSONResponse }

func (CreateInternalOrganization400JSONResponse) VisitCreateInternalOrganizationResponse

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

type CreateInternalOrganization401JSONResponse

type CreateInternalOrganization401JSONResponse ErrorResponse

func (CreateInternalOrganization401JSONResponse) VisitCreateInternalOrganizationResponse

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

type CreateInternalOrganization403JSONResponse

type CreateInternalOrganization403JSONResponse ErrorResponse

func (CreateInternalOrganization403JSONResponse) VisitCreateInternalOrganizationResponse

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

type CreateInternalOrganization404JSONResponse

type CreateInternalOrganization404JSONResponse ErrorResponse

func (CreateInternalOrganization404JSONResponse) VisitCreateInternalOrganizationResponse

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

type CreateInternalOrganization500JSONResponse

type CreateInternalOrganization500JSONResponse ErrorResponse

func (CreateInternalOrganization500JSONResponse) VisitCreateInternalOrganizationResponse

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

type CreateInternalOrganizationInvitation201JSONResponse

type CreateInternalOrganizationInvitation201JSONResponse OrganizationInvitationEnvelope

func (CreateInternalOrganizationInvitation201JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitation400JSONResponse

type CreateInternalOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (CreateInternalOrganizationInvitation400JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitation401JSONResponse

type CreateInternalOrganizationInvitation401JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation401JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitation403JSONResponse

type CreateInternalOrganizationInvitation403JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation403JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitation404JSONResponse

type CreateInternalOrganizationInvitation404JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation404JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitation409JSONResponse

type CreateInternalOrganizationInvitation409JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation409JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitation500JSONResponse

type CreateInternalOrganizationInvitation500JSONResponse ErrorResponse

func (CreateInternalOrganizationInvitation500JSONResponse) VisitCreateInternalOrganizationInvitationResponse

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

type CreateInternalOrganizationInvitationJSONRequestBody

type CreateInternalOrganizationInvitationJSONRequestBody = InternalCreateInvitationRequest

CreateInternalOrganizationInvitationJSONRequestBody defines body for CreateInternalOrganizationInvitation for application/json ContentType.

type CreateInternalOrganizationInvitationRequestObject

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

type CreateInternalOrganizationInvitationResponseObject

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

type CreateInternalOrganizationJSONRequestBody

type CreateInternalOrganizationJSONRequestBody = InternalCreateOrganizationRequest

CreateInternalOrganizationJSONRequestBody defines body for CreateInternalOrganization for application/json ContentType.

type CreateInternalOrganizationRequestObject

type CreateInternalOrganizationRequestObject struct {
	Body *CreateInternalOrganizationJSONRequestBody
}

type CreateInternalOrganizationResponseObject

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

type CurrentOrganizationMember

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

CurrentOrganizationMember defines model for CurrentOrganizationMember.

type CurrentOrganizationMembers

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

CurrentOrganizationMembers defines model for CurrentOrganizationMembers.

type CurrentUser

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

CurrentUser defines model for CurrentUser.

type CurrentUserRoles

type CurrentUserRoles string

CurrentUserRoles defines model for CurrentUser.Roles.

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

Defines values for CurrentUserRoles.

func (CurrentUserRoles) Valid

func (e CurrentUserRoles) Valid() bool

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

type 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 Error

type Error = ErrorResponse

Error defines model for Error.

type ErrorJSONResponse

type ErrorJSONResponse ErrorResponse

type ErrorResponse

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

ErrorResponse defines model for ErrorResponse.

type FinishPasskeyAuthentication200HeadersResponse

type FinishPasskeyAuthentication200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (FinishPasskeyAuthentication200HeadersResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthentication200JSONResponse

type FinishPasskeyAuthentication200JSONResponse AuthSession

func (FinishPasskeyAuthentication200JSONResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthentication400JSONResponse

type FinishPasskeyAuthentication400JSONResponse struct{ ErrorJSONResponse }

func (FinishPasskeyAuthentication400JSONResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthentication401JSONResponse

type FinishPasskeyAuthentication401JSONResponse ErrorResponse

func (FinishPasskeyAuthentication401JSONResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthentication403JSONResponse

type FinishPasskeyAuthentication403JSONResponse ErrorResponse

func (FinishPasskeyAuthentication403JSONResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthentication429JSONResponse

type FinishPasskeyAuthentication429JSONResponse ErrorResponse

func (FinishPasskeyAuthentication429JSONResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthentication500JSONResponse

type FinishPasskeyAuthentication500JSONResponse ErrorResponse

func (FinishPasskeyAuthentication500JSONResponse) VisitFinishPasskeyAuthenticationResponse

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

type FinishPasskeyAuthenticationJSONRequestBody

type FinishPasskeyAuthenticationJSONRequestBody = PasskeyAuthenticationFinishRequest

FinishPasskeyAuthenticationJSONRequestBody defines body for FinishPasskeyAuthentication for application/json ContentType.

type FinishPasskeyAuthenticationParams

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

FinishPasskeyAuthenticationParams defines parameters for FinishPasskeyAuthentication.

type FinishPasskeyAuthenticationParamsAudience

type FinishPasskeyAuthenticationParamsAudience string

FinishPasskeyAuthenticationParamsAudience defines parameters for FinishPasskeyAuthentication.

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

Defines values for FinishPasskeyAuthenticationParamsAudience.

func (FinishPasskeyAuthenticationParamsAudience) Valid

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

type FinishPasskeyAuthenticationRequestObject

type FinishPasskeyAuthenticationRequestObject struct {
	Params FinishPasskeyAuthenticationParams
	Body   *FinishPasskeyAuthenticationJSONRequestBody
}

type FinishPasskeyAuthenticationResponseObject

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

type FinishPasskeyRegistration204Response

type FinishPasskeyRegistration204Response struct {
}

func (FinishPasskeyRegistration204Response) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistration400JSONResponse

type FinishPasskeyRegistration400JSONResponse struct{ ErrorJSONResponse }

func (FinishPasskeyRegistration400JSONResponse) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistration401JSONResponse

type FinishPasskeyRegistration401JSONResponse ErrorResponse

func (FinishPasskeyRegistration401JSONResponse) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistration403JSONResponse

type FinishPasskeyRegistration403JSONResponse ErrorResponse

func (FinishPasskeyRegistration403JSONResponse) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistration409JSONResponse

type FinishPasskeyRegistration409JSONResponse ErrorResponse

func (FinishPasskeyRegistration409JSONResponse) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistration422JSONResponse

type FinishPasskeyRegistration422JSONResponse ErrorResponse

func (FinishPasskeyRegistration422JSONResponse) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistration500JSONResponse

type FinishPasskeyRegistration500JSONResponse ErrorResponse

func (FinishPasskeyRegistration500JSONResponse) VisitFinishPasskeyRegistrationResponse

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

type FinishPasskeyRegistrationJSONRequestBody

type FinishPasskeyRegistrationJSONRequestBody = PasskeyRegistrationFinishRequest

FinishPasskeyRegistrationJSONRequestBody defines body for FinishPasskeyRegistration for application/json ContentType.

type FinishPasskeyRegistrationRequestObject

type FinishPasskeyRegistrationRequestObject struct {
	Body *FinishPasskeyRegistrationJSONRequestBody
}

type FinishPasskeyRegistrationResponseObject

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

type GetCsrfToken200HeadersResponse

type GetCsrfToken200HeadersResponse struct {
	Header http.Header
	Body   CSRFToken
}

func (GetCsrfToken200HeadersResponse) VisitGetCsrfTokenResponse

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

type GetCsrfToken200JSONResponse

type GetCsrfToken200JSONResponse CSRFToken

func (GetCsrfToken200JSONResponse) VisitGetCsrfTokenResponse

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

type GetCsrfToken500JSONResponse

type GetCsrfToken500JSONResponse struct{ ErrorJSONResponse }

func (GetCsrfToken500JSONResponse) VisitGetCsrfTokenResponse

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

type GetCsrfTokenRequestObject

type GetCsrfTokenRequestObject struct {
}

type GetCsrfTokenResponseObject

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

type GetCurrentOrganization200JSONResponse

type GetCurrentOrganization200JSONResponse OrganizationSummary

func (GetCurrentOrganization200JSONResponse) VisitGetCurrentOrganizationResponse

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

type GetCurrentOrganization401JSONResponse

type GetCurrentOrganization401JSONResponse struct{ ErrorJSONResponse }

func (GetCurrentOrganization401JSONResponse) VisitGetCurrentOrganizationResponse

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

type GetCurrentOrganization500JSONResponse

type GetCurrentOrganization500JSONResponse ErrorResponse

func (GetCurrentOrganization500JSONResponse) VisitGetCurrentOrganizationResponse

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

type GetCurrentOrganizationRequestObject

type GetCurrentOrganizationRequestObject struct {
}

type GetCurrentOrganizationResponseObject

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

type GetCurrentUser200JSONResponse

type GetCurrentUser200JSONResponse CurrentUser

func (GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse

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

type GetCurrentUser401JSONResponse

type GetCurrentUser401JSONResponse struct{ ErrorJSONResponse }

func (GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse

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

type GetCurrentUser500JSONResponse

type GetCurrentUser500JSONResponse ErrorResponse

func (GetCurrentUser500JSONResponse) VisitGetCurrentUserResponse

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

type GetCurrentUserRequestObject

type GetCurrentUserRequestObject struct {
}

type GetCurrentUserResponseObject

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

type GetGoogleLoginOptions200HeadersResponse

type GetGoogleLoginOptions200HeadersResponse struct {
	Header http.Header
	Body   GoogleLoginOptions
}

func (GetGoogleLoginOptions200HeadersResponse) VisitGetGoogleLoginOptionsResponse

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

type GetGoogleLoginOptions200JSONResponse

type GetGoogleLoginOptions200JSONResponse GoogleLoginOptions

func (GetGoogleLoginOptions200JSONResponse) VisitGetGoogleLoginOptionsResponse

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

type GetGoogleLoginOptions404JSONResponse

type GetGoogleLoginOptions404JSONResponse struct{ ErrorJSONResponse }

func (GetGoogleLoginOptions404JSONResponse) VisitGetGoogleLoginOptionsResponse

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

type GetGoogleLoginOptions500JSONResponse

type GetGoogleLoginOptions500JSONResponse ErrorResponse

func (GetGoogleLoginOptions500JSONResponse) VisitGetGoogleLoginOptionsResponse

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

type GetGoogleLoginOptionsRequestObject

type GetGoogleLoginOptionsRequestObject struct {
}

type GetGoogleLoginOptionsResponseObject

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

type GetPublicCapabilities200JSONResponse

type GetPublicCapabilities200JSONResponse Capabilities

func (GetPublicCapabilities200JSONResponse) VisitGetPublicCapabilitiesResponse

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

type GetPublicCapabilities401JSONResponse

type GetPublicCapabilities401JSONResponse struct{ ErrorJSONResponse }

func (GetPublicCapabilities401JSONResponse) VisitGetPublicCapabilitiesResponse

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

type GetPublicCapabilities500JSONResponse

type GetPublicCapabilities500JSONResponse ErrorResponse

func (GetPublicCapabilities500JSONResponse) VisitGetPublicCapabilitiesResponse

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

type GetPublicCapabilitiesRequestObject

type GetPublicCapabilitiesRequestObject struct {
}

type GetPublicCapabilitiesResponseObject

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

type GetPublicOrganization200JSONResponse

type GetPublicOrganization200JSONResponse OrganizationEnvelope

func (GetPublicOrganization200JSONResponse) VisitGetPublicOrganizationResponse

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

type GetPublicOrganization400JSONResponse

type GetPublicOrganization400JSONResponse struct{ ErrorJSONResponse }

func (GetPublicOrganization400JSONResponse) VisitGetPublicOrganizationResponse

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

type GetPublicOrganization401JSONResponse

type GetPublicOrganization401JSONResponse ErrorResponse

func (GetPublicOrganization401JSONResponse) VisitGetPublicOrganizationResponse

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

type GetPublicOrganization403JSONResponse

type GetPublicOrganization403JSONResponse ErrorResponse

func (GetPublicOrganization403JSONResponse) VisitGetPublicOrganizationResponse

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

type GetPublicOrganization404JSONResponse

type GetPublicOrganization404JSONResponse ErrorResponse

func (GetPublicOrganization404JSONResponse) VisitGetPublicOrganizationResponse

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

type GetPublicOrganization500JSONResponse

type GetPublicOrganization500JSONResponse ErrorResponse

func (GetPublicOrganization500JSONResponse) VisitGetPublicOrganizationResponse

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

type GetPublicOrganizationInvitation200JSONResponse

type GetPublicOrganizationInvitation200JSONResponse OrganizationInvitationEnvelope

func (GetPublicOrganizationInvitation200JSONResponse) VisitGetPublicOrganizationInvitationResponse

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

type GetPublicOrganizationInvitation400JSONResponse

type GetPublicOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (GetPublicOrganizationInvitation400JSONResponse) VisitGetPublicOrganizationInvitationResponse

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

type GetPublicOrganizationInvitation401JSONResponse

type GetPublicOrganizationInvitation401JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation401JSONResponse) VisitGetPublicOrganizationInvitationResponse

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

type GetPublicOrganizationInvitation403JSONResponse

type GetPublicOrganizationInvitation403JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation403JSONResponse) VisitGetPublicOrganizationInvitationResponse

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

type GetPublicOrganizationInvitation404JSONResponse

type GetPublicOrganizationInvitation404JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation404JSONResponse) VisitGetPublicOrganizationInvitationResponse

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

type GetPublicOrganizationInvitation500JSONResponse

type GetPublicOrganizationInvitation500JSONResponse ErrorResponse

func (GetPublicOrganizationInvitation500JSONResponse) VisitGetPublicOrganizationInvitationResponse

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

type GetPublicOrganizationInvitationRequestObject

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

type GetPublicOrganizationInvitationResponseObject

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

type GetPublicOrganizationMember200JSONResponse

type GetPublicOrganizationMember200JSONResponse OrganizationMemberEnvelope

func (GetPublicOrganizationMember200JSONResponse) VisitGetPublicOrganizationMemberResponse

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

type GetPublicOrganizationMember400JSONResponse

type GetPublicOrganizationMember400JSONResponse struct{ ErrorJSONResponse }

func (GetPublicOrganizationMember400JSONResponse) VisitGetPublicOrganizationMemberResponse

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

type GetPublicOrganizationMember401JSONResponse

type GetPublicOrganizationMember401JSONResponse ErrorResponse

func (GetPublicOrganizationMember401JSONResponse) VisitGetPublicOrganizationMemberResponse

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

type GetPublicOrganizationMember403JSONResponse

type GetPublicOrganizationMember403JSONResponse ErrorResponse

func (GetPublicOrganizationMember403JSONResponse) VisitGetPublicOrganizationMemberResponse

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

type GetPublicOrganizationMember404JSONResponse

type GetPublicOrganizationMember404JSONResponse ErrorResponse

func (GetPublicOrganizationMember404JSONResponse) VisitGetPublicOrganizationMemberResponse

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

type GetPublicOrganizationMember500JSONResponse

type GetPublicOrganizationMember500JSONResponse ErrorResponse

func (GetPublicOrganizationMember500JSONResponse) VisitGetPublicOrganizationMemberResponse

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

type GetPublicOrganizationMemberRequestObject

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

type GetPublicOrganizationMemberResponseObject

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

type GetPublicOrganizationRequestObject

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

type GetPublicOrganizationResponseObject

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

type GoogleLoginOptions

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

GoogleLoginOptions defines model for GoogleLoginOptions.

type GoogleLoginRequest

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

GoogleLoginRequest defines model for GoogleLoginRequest.

type InternalCreateInvitationRequest

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

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

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

InternalCreateInvitationRequest defines model for InternalCreateInvitationRequest.

type InternalCreateOrganizationRequest

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

InternalCreateOrganizationRequest defines model for InternalCreateOrganizationRequest.

type InternalOrganizationActorRequest added in v0.14.0

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

InternalOrganizationActorRequest defines model for InternalOrganizationActorRequest.

type InternalOwnershipTransferRequest added in v0.14.0

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

InternalOwnershipTransferRequest defines model for InternalOwnershipTransferRequest.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type InvitationID

type InvitationID = openapi_types.UUID

InvitationID defines model for InvitationID.

type ListCurrentOrganizationMembers200JSONResponse

type ListCurrentOrganizationMembers200JSONResponse CurrentOrganizationMembers

func (ListCurrentOrganizationMembers200JSONResponse) VisitListCurrentOrganizationMembersResponse

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

type ListCurrentOrganizationMembers401JSONResponse

type ListCurrentOrganizationMembers401JSONResponse struct{ ErrorJSONResponse }

func (ListCurrentOrganizationMembers401JSONResponse) VisitListCurrentOrganizationMembersResponse

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

type ListCurrentOrganizationMembers403JSONResponse

type ListCurrentOrganizationMembers403JSONResponse ErrorResponse

func (ListCurrentOrganizationMembers403JSONResponse) VisitListCurrentOrganizationMembersResponse

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

type ListCurrentOrganizationMembers500JSONResponse

type ListCurrentOrganizationMembers500JSONResponse ErrorResponse

func (ListCurrentOrganizationMembers500JSONResponse) VisitListCurrentOrganizationMembersResponse

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

type ListCurrentOrganizationMembersRequestObject

type ListCurrentOrganizationMembersRequestObject struct {
}

type ListCurrentOrganizationMembersResponseObject

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

type ListCurrentUserOrganizations200JSONResponse

type ListCurrentUserOrganizations200JSONResponse OrganizationSummaries

func (ListCurrentUserOrganizations200JSONResponse) VisitListCurrentUserOrganizationsResponse

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

type ListCurrentUserOrganizations401JSONResponse

type ListCurrentUserOrganizations401JSONResponse struct{ ErrorJSONResponse }

func (ListCurrentUserOrganizations401JSONResponse) VisitListCurrentUserOrganizationsResponse

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

type ListCurrentUserOrganizations500JSONResponse

type ListCurrentUserOrganizations500JSONResponse ErrorResponse

func (ListCurrentUserOrganizations500JSONResponse) VisitListCurrentUserOrganizationsResponse

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

type ListCurrentUserOrganizationsRequestObject

type ListCurrentUserOrganizationsRequestObject struct {
}

type ListCurrentUserOrganizationsResponseObject

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

type ListPublicOrganizationInvitations200JSONResponse

type ListPublicOrganizationInvitations200JSONResponse OrganizationInvitations

func (ListPublicOrganizationInvitations200JSONResponse) VisitListPublicOrganizationInvitationsResponse

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

type ListPublicOrganizationInvitations400JSONResponse

type ListPublicOrganizationInvitations400JSONResponse struct{ ErrorJSONResponse }

func (ListPublicOrganizationInvitations400JSONResponse) VisitListPublicOrganizationInvitationsResponse

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

type ListPublicOrganizationInvitations401JSONResponse

type ListPublicOrganizationInvitations401JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations401JSONResponse) VisitListPublicOrganizationInvitationsResponse

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

type ListPublicOrganizationInvitations403JSONResponse

type ListPublicOrganizationInvitations403JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations403JSONResponse) VisitListPublicOrganizationInvitationsResponse

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

type ListPublicOrganizationInvitations404JSONResponse

type ListPublicOrganizationInvitations404JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations404JSONResponse) VisitListPublicOrganizationInvitationsResponse

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

type ListPublicOrganizationInvitations500JSONResponse

type ListPublicOrganizationInvitations500JSONResponse ErrorResponse

func (ListPublicOrganizationInvitations500JSONResponse) VisitListPublicOrganizationInvitationsResponse

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

type ListPublicOrganizationInvitationsRequestObject

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

type ListPublicOrganizationInvitationsResponseObject

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

type ListPublicOrganizationMembers200JSONResponse

type ListPublicOrganizationMembers200JSONResponse OrganizationMembers

func (ListPublicOrganizationMembers200JSONResponse) VisitListPublicOrganizationMembersResponse

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

type ListPublicOrganizationMembers400JSONResponse

type ListPublicOrganizationMembers400JSONResponse struct{ ErrorJSONResponse }

func (ListPublicOrganizationMembers400JSONResponse) VisitListPublicOrganizationMembersResponse

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

type ListPublicOrganizationMembers401JSONResponse

type ListPublicOrganizationMembers401JSONResponse ErrorResponse

func (ListPublicOrganizationMembers401JSONResponse) VisitListPublicOrganizationMembersResponse

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

type ListPublicOrganizationMembers403JSONResponse

type ListPublicOrganizationMembers403JSONResponse ErrorResponse

func (ListPublicOrganizationMembers403JSONResponse) VisitListPublicOrganizationMembersResponse

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

type ListPublicOrganizationMembers404JSONResponse

type ListPublicOrganizationMembers404JSONResponse ErrorResponse

func (ListPublicOrganizationMembers404JSONResponse) VisitListPublicOrganizationMembersResponse

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

type ListPublicOrganizationMembers500JSONResponse

type ListPublicOrganizationMembers500JSONResponse ErrorResponse

func (ListPublicOrganizationMembers500JSONResponse) VisitListPublicOrganizationMembersResponse

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

type ListPublicOrganizationMembersRequestObject

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

type ListPublicOrganizationMembersResponseObject

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

type ListPublicUserMemberships200JSONResponse

type ListPublicUserMemberships200JSONResponse UserMemberships

func (ListPublicUserMemberships200JSONResponse) VisitListPublicUserMembershipsResponse

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

type ListPublicUserMemberships400JSONResponse

type ListPublicUserMemberships400JSONResponse struct{ ErrorJSONResponse }

func (ListPublicUserMemberships400JSONResponse) VisitListPublicUserMembershipsResponse

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

type ListPublicUserMemberships401JSONResponse

type ListPublicUserMemberships401JSONResponse ErrorResponse

func (ListPublicUserMemberships401JSONResponse) VisitListPublicUserMembershipsResponse

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

type ListPublicUserMemberships403JSONResponse

type ListPublicUserMemberships403JSONResponse ErrorResponse

func (ListPublicUserMemberships403JSONResponse) VisitListPublicUserMembershipsResponse

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

type ListPublicUserMemberships404JSONResponse

type ListPublicUserMemberships404JSONResponse ErrorResponse

func (ListPublicUserMemberships404JSONResponse) VisitListPublicUserMembershipsResponse

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

type ListPublicUserMemberships500JSONResponse

type ListPublicUserMemberships500JSONResponse ErrorResponse

func (ListPublicUserMemberships500JSONResponse) VisitListPublicUserMembershipsResponse

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

type ListPublicUserMembershipsRequestObject

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

type ListPublicUserMembershipsResponseObject

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

type LoginWithGoogle200HeadersResponse

type LoginWithGoogle200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (LoginWithGoogle200HeadersResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle200JSONResponse

type LoginWithGoogle200JSONResponse AuthSession

func (LoginWithGoogle200JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle400JSONResponse

type LoginWithGoogle400JSONResponse struct{ ErrorJSONResponse }

func (LoginWithGoogle400JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle401JSONResponse

type LoginWithGoogle401JSONResponse ErrorResponse

func (LoginWithGoogle401JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle403JSONResponse

type LoginWithGoogle403JSONResponse ErrorResponse

func (LoginWithGoogle403JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle404JSONResponse

type LoginWithGoogle404JSONResponse ErrorResponse

func (LoginWithGoogle404JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle409JSONResponse

type LoginWithGoogle409JSONResponse ErrorResponse

func (LoginWithGoogle409JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogle500JSONResponse

type LoginWithGoogle500JSONResponse ErrorResponse

func (LoginWithGoogle500JSONResponse) VisitLoginWithGoogleResponse

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

type LoginWithGoogleJSONRequestBody

type LoginWithGoogleJSONRequestBody = GoogleLoginRequest

LoginWithGoogleJSONRequestBody defines body for LoginWithGoogle for application/json ContentType.

type LoginWithGoogleParams

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

LoginWithGoogleParams defines parameters for LoginWithGoogle.

type LoginWithGoogleParamsAudience

type LoginWithGoogleParamsAudience string

LoginWithGoogleParamsAudience defines parameters for LoginWithGoogle.

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

Defines values for LoginWithGoogleParamsAudience.

func (LoginWithGoogleParamsAudience) Valid

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

type LoginWithGoogleRequestObject

type LoginWithGoogleRequestObject struct {
	Params LoginWithGoogleParams
	Body   *LoginWithGoogleJSONRequestBody
}

type LoginWithGoogleResponseObject

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

type LoginWithPassword200HeadersResponse

type LoginWithPassword200HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (LoginWithPassword200HeadersResponse) VisitLoginWithPasswordResponse

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

type LoginWithPassword200JSONResponse

type LoginWithPassword200JSONResponse AuthSession

func (LoginWithPassword200JSONResponse) VisitLoginWithPasswordResponse

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

type LoginWithPassword400JSONResponse

type LoginWithPassword400JSONResponse struct{ ErrorJSONResponse }

func (LoginWithPassword400JSONResponse) VisitLoginWithPasswordResponse

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

type LoginWithPassword401JSONResponse

type LoginWithPassword401JSONResponse ErrorResponse

func (LoginWithPassword401JSONResponse) VisitLoginWithPasswordResponse

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

type LoginWithPassword403JSONResponse

type LoginWithPassword403JSONResponse ErrorResponse

func (LoginWithPassword403JSONResponse) VisitLoginWithPasswordResponse

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

type LoginWithPassword429JSONResponse

type LoginWithPassword429JSONResponse ErrorResponse

func (LoginWithPassword429JSONResponse) VisitLoginWithPasswordResponse

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

type LoginWithPassword500JSONResponse

type LoginWithPassword500JSONResponse ErrorResponse

func (LoginWithPassword500JSONResponse) VisitLoginWithPasswordResponse

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

type LoginWithPasswordJSONRequestBody

type LoginWithPasswordJSONRequestBody = PasswordLoginRequest

LoginWithPasswordJSONRequestBody defines body for LoginWithPassword for application/json ContentType.

type LoginWithPasswordParams

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

LoginWithPasswordParams defines parameters for LoginWithPassword.

type LoginWithPasswordParamsAudience

type LoginWithPasswordParamsAudience string

LoginWithPasswordParamsAudience defines parameters for LoginWithPassword.

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

Defines values for LoginWithPasswordParamsAudience.

func (LoginWithPasswordParamsAudience) Valid

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

type LoginWithPasswordRequestObject

type LoginWithPasswordRequestObject struct {
	Params LoginWithPasswordParams
	Body   *LoginWithPasswordJSONRequestBody
}

type LoginWithPasswordResponseObject

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

type Logout204HeadersResponse

type Logout204HeadersResponse struct {
	Header http.Header
}

func (Logout204HeadersResponse) VisitLogoutResponse

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

type Logout204Response

type Logout204Response struct {
}

func (Logout204Response) VisitLogoutResponse

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

type Logout403JSONResponse

type Logout403JSONResponse struct{ ErrorJSONResponse }

func (Logout403JSONResponse) VisitLogoutResponse

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

type Logout500JSONResponse

type Logout500JSONResponse ErrorResponse

func (Logout500JSONResponse) VisitLogoutResponse

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

type LogoutRequestObject

type LogoutRequestObject struct {
}

type LogoutResponseObject

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

type Membership

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

Membership defines model for Membership.

type MembershipWithOrganization

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

MembershipWithOrganization defines model for MembershipWithOrganization.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Organization

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

Organization defines model for Organization.

type OrganizationEnvelope

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

OrganizationEnvelope defines model for OrganizationEnvelope.

type OrganizationID

type OrganizationID = openapi_types.UUID

OrganizationID defines model for OrganizationID.

type OrganizationInvitation

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

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

OrganizationInvitation defines model for OrganizationInvitation.

type OrganizationInvitationEnvelope

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

OrganizationInvitationEnvelope defines model for OrganizationInvitationEnvelope.

type OrganizationInvitationRole added in v0.11.0

type OrganizationInvitationRole string

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

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

Defines values for OrganizationInvitationRole.

func (OrganizationInvitationRole) Valid added in v0.11.0

func (e OrganizationInvitationRole) Valid() bool

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

type OrganizationInvitationStatus

type OrganizationInvitationStatus string

OrganizationInvitationStatus defines model for OrganizationInvitation.Status.

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

Defines values for OrganizationInvitationStatus.

func (OrganizationInvitationStatus) Valid

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

type OrganizationInvitations

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

OrganizationInvitations defines model for OrganizationInvitations.

type OrganizationKind

type OrganizationKind string

OrganizationKind defines model for Organization.Kind.

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

Defines values for OrganizationKind.

func (OrganizationKind) Valid

func (e OrganizationKind) Valid() bool

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

type OrganizationMember

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

OrganizationMember defines model for OrganizationMember.

type OrganizationMemberEnvelope

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

OrganizationMemberEnvelope defines model for OrganizationMemberEnvelope.

type OrganizationMembers

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

OrganizationMembers defines model for OrganizationMembers.

type OrganizationRole

type OrganizationRole string

OrganizationRole defines model for OrganizationRole.

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

Defines values for OrganizationRole.

func (OrganizationRole) Valid

func (e OrganizationRole) Valid() bool

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

type OrganizationSummaries

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

OrganizationSummaries defines model for OrganizationSummaries.

type OrganizationSummary

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

OrganizationSummary defines model for OrganizationSummary.

type OrganizationWithMembership

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

OrganizationWithMembership defines model for OrganizationWithMembership.

type PasskeyAuthenticationFinishRequest

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

PasskeyAuthenticationFinishRequest defines model for PasskeyAuthenticationFinishRequest.

type PasskeyOptions

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

PasskeyOptions defines model for PasskeyOptions.

type PasskeyRegistrationFinishRequest

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

PasskeyRegistrationFinishRequest defines model for PasskeyRegistrationFinishRequest.

type PasswordLoginRequest

type PasswordLoginRequest struct {
	Email    openapi_types.Email `json:"email"`
	Password string              `json:"password"`
}

PasswordLoginRequest defines model for PasswordLoginRequest.

type PasswordResetChallengeVerification added in v0.12.0

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

PasswordResetChallengeVerification defines model for PasswordResetChallengeVerification.

type PasswordResetRequest added in v0.12.0

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

PasswordResetRequest defines model for PasswordResetRequest.

type RefreshSession200HeadersResponse

type RefreshSession200HeadersResponse struct {
	Header http.Header
}

func (RefreshSession200HeadersResponse) VisitRefreshSessionResponse

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

type RefreshSession200Response

type RefreshSession200Response struct {
}

func (RefreshSession200Response) VisitRefreshSessionResponse

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

type RefreshSession400JSONResponse

type RefreshSession400JSONResponse struct{ ErrorJSONResponse }

func (RefreshSession400JSONResponse) VisitRefreshSessionResponse

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

type RefreshSession401HeadersResponse

type RefreshSession401HeadersResponse struct {
	Header http.Header
	Body   ErrorResponse
}

func (RefreshSession401HeadersResponse) VisitRefreshSessionResponse

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

type RefreshSession401JSONResponse

type RefreshSession401JSONResponse ErrorResponse

func (RefreshSession401JSONResponse) VisitRefreshSessionResponse

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

type RefreshSession500JSONResponse

type RefreshSession500JSONResponse ErrorResponse

func (RefreshSession500JSONResponse) VisitRefreshSessionResponse

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

type RefreshSessionParams

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

RefreshSessionParams defines parameters for RefreshSession.

type RefreshSessionParamsAudience

type RefreshSessionParamsAudience string

RefreshSessionParamsAudience defines parameters for RefreshSession.

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

Defines values for RefreshSessionParamsAudience.

func (RefreshSessionParamsAudience) Valid

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

type RefreshSessionRequestObject

type RefreshSessionRequestObject struct {
	Params RefreshSessionParams
}

type RefreshSessionResponseObject

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

type RefreshTokens200JSONResponse

type RefreshTokens200JSONResponse Tokens

func (RefreshTokens200JSONResponse) VisitRefreshTokensResponse

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

type RefreshTokens400JSONResponse

type RefreshTokens400JSONResponse struct{ ErrorJSONResponse }

func (RefreshTokens400JSONResponse) VisitRefreshTokensResponse

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

type RefreshTokens401JSONResponse

type RefreshTokens401JSONResponse ErrorResponse

func (RefreshTokens401JSONResponse) VisitRefreshTokensResponse

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

type RefreshTokens500JSONResponse

type RefreshTokens500JSONResponse ErrorResponse

func (RefreshTokens500JSONResponse) VisitRefreshTokensResponse

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

type RefreshTokensJSONRequestBody

type RefreshTokensJSONRequestBody = TokenRefreshRequest

RefreshTokensJSONRequestBody defines body for RefreshTokens for application/json ContentType.

type RefreshTokensRequestObject

type RefreshTokensRequestObject struct {
	Body *RefreshTokensJSONRequestBody
}

type RefreshTokensResponseObject

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

type RemoveInternalOrganizationMember204Response added in v0.14.0

type RemoveInternalOrganizationMember204Response struct {
}

func (RemoveInternalOrganizationMember204Response) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMember400JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember400JSONResponse struct{ ErrorJSONResponse }

func (RemoveInternalOrganizationMember400JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMember401JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember401JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember401JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMember403JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember403JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember403JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMember404JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember404JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember404JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMember409JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember409JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember409JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMember500JSONResponse added in v0.14.0

type RemoveInternalOrganizationMember500JSONResponse ErrorResponse

func (RemoveInternalOrganizationMember500JSONResponse) VisitRemoveInternalOrganizationMemberResponse added in v0.14.0

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

type RemoveInternalOrganizationMemberJSONRequestBody added in v0.14.0

type RemoveInternalOrganizationMemberJSONRequestBody = InternalOrganizationActorRequest

RemoveInternalOrganizationMemberJSONRequestBody defines body for RemoveInternalOrganizationMember for application/json ContentType.

type RemoveInternalOrganizationMemberRequestObject added in v0.14.0

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

type RemoveInternalOrganizationMemberResponseObject added in v0.14.0

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

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResendChallenge204Response

type ResendChallenge204Response struct {
}

func (ResendChallenge204Response) VisitResendChallengeResponse

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

type ResendChallenge400JSONResponse

type ResendChallenge400JSONResponse struct{ ErrorJSONResponse }

func (ResendChallenge400JSONResponse) VisitResendChallengeResponse

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

type ResendChallenge403JSONResponse

type ResendChallenge403JSONResponse ErrorResponse

func (ResendChallenge403JSONResponse) VisitResendChallengeResponse

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

type ResendChallenge429JSONResponse

type ResendChallenge429JSONResponse ErrorResponse

func (ResendChallenge429JSONResponse) VisitResendChallengeResponse

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

type ResendChallenge500JSONResponse

type ResendChallenge500JSONResponse ErrorResponse

func (ResendChallenge500JSONResponse) VisitResendChallengeResponse

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

type ResendChallengeJSONRequestBody

type ResendChallengeJSONRequestBody = ChallengeReference

ResendChallengeJSONRequestBody defines body for ResendChallenge for application/json ContentType.

type ResendChallengeRequestObject

type ResendChallengeRequestObject struct {
	Body *ResendChallengeJSONRequestBody
}

type ResendChallengeResponseObject

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

type ResendInternalOrganizationInvitation201JSONResponse

type ResendInternalOrganizationInvitation201JSONResponse OrganizationInvitationEnvelope

func (ResendInternalOrganizationInvitation201JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitation400JSONResponse

type ResendInternalOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (ResendInternalOrganizationInvitation400JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitation401JSONResponse

type ResendInternalOrganizationInvitation401JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation401JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitation403JSONResponse

type ResendInternalOrganizationInvitation403JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation403JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitation404JSONResponse

type ResendInternalOrganizationInvitation404JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation404JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitation409JSONResponse

type ResendInternalOrganizationInvitation409JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation409JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitation500JSONResponse

type ResendInternalOrganizationInvitation500JSONResponse ErrorResponse

func (ResendInternalOrganizationInvitation500JSONResponse) VisitResendInternalOrganizationInvitationResponse

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

type ResendInternalOrganizationInvitationRequestObject

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

type ResendInternalOrganizationInvitationResponseObject

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

type Response

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

func Empty

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

func ErrorJSON

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

func InternalError

func InternalError() Response

func JSON

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

func NoContent

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

func (Response) Write

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

type RevokePublicOrganizationInvitation200JSONResponse

type RevokePublicOrganizationInvitation200JSONResponse OrganizationInvitationEnvelope

func (RevokePublicOrganizationInvitation200JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitation400JSONResponse

type RevokePublicOrganizationInvitation400JSONResponse struct{ ErrorJSONResponse }

func (RevokePublicOrganizationInvitation400JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitation401JSONResponse

type RevokePublicOrganizationInvitation401JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation401JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitation403JSONResponse

type RevokePublicOrganizationInvitation403JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation403JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitation404JSONResponse

type RevokePublicOrganizationInvitation404JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation404JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitation409JSONResponse

type RevokePublicOrganizationInvitation409JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation409JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitation500JSONResponse

type RevokePublicOrganizationInvitation500JSONResponse ErrorResponse

func (RevokePublicOrganizationInvitation500JSONResponse) VisitRevokePublicOrganizationInvitationResponse

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

type RevokePublicOrganizationInvitationRequestObject

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

type RevokePublicOrganizationInvitationResponseObject

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

type ServerInterface

type ServerInterface interface {
	// 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)
	// LoginWithPassword Log in with email and password
	// (POST /auth/api/v1/login)
	LoginWithPassword(w http.ResponseWriter, r *http.Request, params LoginWithPasswordParams)
	// LoginWithGoogle Log in with a Google ID token
	// (POST /auth/api/v1/oauth/google)
	LoginWithGoogle(w http.ResponseWriter, r *http.Request, params LoginWithGoogleParams)
	// GetGoogleLoginOptions Get Google login options
	// (GET /auth/api/v1/oauth/google/options)
	GetGoogleLoginOptions(w http.ResponseWriter, r *http.Request)
	// ListCurrentUserOrganizations List organizations for the authenticated user
	// (GET /auth/api/v1/organizations)
	ListCurrentUserOrganizations(w http.ResponseWriter, r *http.Request)
	// GetCurrentOrganization Get the organization in the current access token
	// (GET /auth/api/v1/organizations/current)
	GetCurrentOrganization(w http.ResponseWriter, r *http.Request)
	// ListCurrentOrganizationMembers List members of the current organization
	// (GET /auth/api/v1/organizations/current/members)
	ListCurrentOrganizationMembers(w http.ResponseWriter, r *http.Request)
	// GetPublicOrganization Get an organization
	// (GET /auth/api/v1/organizations/{organizationID})
	GetPublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// UpdatePublicOrganization Update an organization
	// (PATCH /auth/api/v1/organizations/{organizationID})
	UpdatePublicOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// ListPublicOrganizationInvitations List organization invitations
	// (GET /auth/api/v1/organizations/{organizationID}/invitations)
	ListPublicOrganizationInvitations(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// GetPublicOrganizationInvitation Get an organization invitation
	// (GET /auth/api/v1/organizations/{organizationID}/invitations/{invitationID})
	GetPublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)
	// RevokePublicOrganizationInvitation Revoke an organization invitation
	// (POST /auth/api/v1/organizations/{organizationID}/invitations/{invitationID}/revoke)
	RevokePublicOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)
	// ListPublicOrganizationMembers List organization members
	// (GET /auth/api/v1/organizations/{organizationID}/members)
	ListPublicOrganizationMembers(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// GetPublicOrganizationMember Get an organization member
	// (GET /auth/api/v1/organizations/{organizationID}/members/{userID})
	GetPublicOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
	// SwitchOrganization Switch the current session to another organization
	// (POST /auth/api/v1/organizations/{organizationID}/switch)
	SwitchOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, params SwitchOrganizationParams)
	// FinishPasskeyAuthentication Finish passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/finish)
	FinishPasskeyAuthentication(w http.ResponseWriter, r *http.Request, params FinishPasskeyAuthenticationParams)
	// BeginPasskeyAuthentication Start passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/options)
	BeginPasskeyAuthentication(w http.ResponseWriter, r *http.Request)
	// FinishPasskeyRegistration Finish passkey registration
	// (POST /auth/api/v1/passkeys/register/finish)
	FinishPasskeyRegistration(w http.ResponseWriter, r *http.Request)
	// BeginPasskeyRegistration Start passkey registration
	// (POST /auth/api/v1/passkeys/register/options)
	BeginPasskeyRegistration(w http.ResponseWriter, r *http.Request)
	// StartPasswordResetChallenge Start a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges)
	StartPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
	// VerifyPasswordResetChallenge Verify a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges/verify)
	VerifyPasswordResetChallenge(w http.ResponseWriter, r *http.Request)
	// Logout Log out the current session
	// (POST /auth/api/v1/sessions/logout)
	Logout(w http.ResponseWriter, r *http.Request)
	// RefreshSession Refresh a cookie-backed session
	// (POST /auth/api/v1/sessions/refresh)
	RefreshSession(w http.ResponseWriter, r *http.Request, params RefreshSessionParams)
	// StartSignupChallenge Start challenge-based signup
	// (POST /auth/api/v1/signup/challenges)
	StartSignupChallenge(w http.ResponseWriter, r *http.Request, params StartSignupChallengeParams)
	// VerifySignupChallenge Verify a signup challenge and create the account
	// (POST /auth/api/v1/signup/challenges/verify)
	VerifySignupChallenge(w http.ResponseWriter, r *http.Request, params VerifySignupChallengeParams)
	// SignupDirect Create an account without a signup challenge
	// (POST /auth/api/v1/signup/direct)
	SignupDirect(w http.ResponseWriter, r *http.Request, params SignupDirectParams)
	// RefreshTokens Refresh tokens supplied in JSON
	// (POST /auth/api/v1/tokens/refresh)
	RefreshTokens(w http.ResponseWriter, r *http.Request)
	// GetCurrentUser Get the authenticated user
	// (GET /auth/api/v1/user)
	GetCurrentUser(w http.ResponseWriter, r *http.Request)
	// SetCurrentUserPassword Set the authenticated user's password
	// (PUT /auth/api/v1/users/password)
	SetCurrentUserPassword(w http.ResponseWriter, r *http.Request)
	// ListPublicUserMemberships List memberships for the authenticated user
	// (GET /auth/api/v1/users/{userID}/memberships)
	ListPublicUserMemberships(w http.ResponseWriter, r *http.Request, userID UserID)
	// CreateInternalOrganization Create a team organization
	// (POST /auth/internal/v1/organizations)
	CreateInternalOrganization(w http.ResponseWriter, r *http.Request)
	// DeleteInternalOrganization Delete a team organization
	// (DELETE /auth/internal/v1/organizations/{organizationID})
	DeleteInternalOrganization(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// CreateInternalOrganizationInvitation Create an organization invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations)
	CreateInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// ResendInternalOrganizationInvitation Replace an organization invitation with a fresh invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations/{invitationID}/resend)
	ResendInternalOrganizationInvitation(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, invitationID InvitationID)
	// RemoveInternalOrganizationMember Remove an organization member
	// (DELETE /auth/internal/v1/organizations/{organizationID}/members/{userID})
	RemoveInternalOrganizationMember(w http.ResponseWriter, r *http.Request, organizationID OrganizationID, userID UserID)
	// TransferInternalOrganizationOwnership Transfer organization ownership
	// (POST /auth/internal/v1/organizations/{organizationID}/ownership-transfer)
	TransferInternalOrganizationOwnership(w http.ResponseWriter, r *http.Request, organizationID OrganizationID)
	// DeleteInternalUser Delete a user
	// (DELETE /auth/internal/v1/users/{userID})
	DeleteInternalUser(w http.ResponseWriter, r *http.Request, userID UserID)
}

ServerInterface represents all server handlers.

func NewStrictHandler

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

func NewStrictHandlerWithOptions

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

type ServerInterfaceWrapper

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

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) BeginPasskeyAuthentication

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

BeginPasskeyAuthentication operation middleware

func (*ServerInterfaceWrapper) BeginPasskeyRegistration

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

BeginPasskeyRegistration operation middleware

func (*ServerInterfaceWrapper) 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) DeleteInternalOrganization added in v0.14.0

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

DeleteInternalOrganization operation middleware

func (*ServerInterfaceWrapper) DeleteInternalUser added in v0.14.0

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

DeleteInternalUser operation middleware

func (*ServerInterfaceWrapper) FinishPasskeyAuthentication

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

FinishPasskeyAuthentication operation middleware

func (*ServerInterfaceWrapper) FinishPasskeyRegistration

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

FinishPasskeyRegistration operation middleware

func (*ServerInterfaceWrapper) GetCsrfToken

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

GetCsrfToken operation middleware

func (*ServerInterfaceWrapper) 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) 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) LoginWithGoogle

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

LoginWithGoogle operation middleware

func (*ServerInterfaceWrapper) LoginWithPassword

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

LoginWithPassword operation middleware

func (*ServerInterfaceWrapper) Logout

Logout operation middleware

func (*ServerInterfaceWrapper) 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) 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) 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) UpdatePublicOrganization

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

UpdatePublicOrganization 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 SetCurrentUserPassword204Response added in v0.12.0

type SetCurrentUserPassword204Response struct {
}

func (SetCurrentUserPassword204Response) VisitSetCurrentUserPasswordResponse added in v0.12.0

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

type SetCurrentUserPassword400JSONResponse added in v0.12.0

type SetCurrentUserPassword400JSONResponse struct{ ErrorJSONResponse }

func (SetCurrentUserPassword400JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

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

type SetCurrentUserPassword401JSONResponse added in v0.12.0

type SetCurrentUserPassword401JSONResponse ErrorResponse

func (SetCurrentUserPassword401JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

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

type SetCurrentUserPassword403JSONResponse added in v0.12.0

type SetCurrentUserPassword403JSONResponse ErrorResponse

func (SetCurrentUserPassword403JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

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

type SetCurrentUserPassword500JSONResponse added in v0.12.0

type SetCurrentUserPassword500JSONResponse ErrorResponse

func (SetCurrentUserPassword500JSONResponse) VisitSetCurrentUserPasswordResponse added in v0.12.0

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

type SetCurrentUserPasswordJSONRequestBody added in v0.12.0

type SetCurrentUserPasswordJSONRequestBody = SetPasswordRequest

SetCurrentUserPasswordJSONRequestBody defines body for SetCurrentUserPassword for application/json ContentType.

type SetCurrentUserPasswordRequestObject added in v0.12.0

type SetCurrentUserPasswordRequestObject struct {
	Body *SetCurrentUserPasswordJSONRequestBody
}

type SetCurrentUserPasswordResponseObject added in v0.12.0

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

type SetPasswordRequest added in v0.12.0

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

SetPasswordRequest defines model for SetPasswordRequest.

type SignupChallenge

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

SignupChallenge defines model for SignupChallenge.

type SignupChallengeVerification

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

SignupChallengeVerification defines model for SignupChallengeVerification.

type SignupDirect201HeadersResponse

type SignupDirect201HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (SignupDirect201HeadersResponse) VisitSignupDirectResponse

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

type SignupDirect201JSONResponse

type SignupDirect201JSONResponse AuthSession

func (SignupDirect201JSONResponse) VisitSignupDirectResponse

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

type SignupDirect400JSONResponse

type SignupDirect400JSONResponse struct{ ErrorJSONResponse }

func (SignupDirect400JSONResponse) VisitSignupDirectResponse

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

type SignupDirect403JSONResponse

type SignupDirect403JSONResponse ErrorResponse

func (SignupDirect403JSONResponse) VisitSignupDirectResponse

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

type SignupDirect404JSONResponse

type SignupDirect404JSONResponse ErrorResponse

func (SignupDirect404JSONResponse) VisitSignupDirectResponse

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

type SignupDirect429JSONResponse

type SignupDirect429JSONResponse ErrorResponse

func (SignupDirect429JSONResponse) VisitSignupDirectResponse

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

type SignupDirect500JSONResponse

type SignupDirect500JSONResponse ErrorResponse

func (SignupDirect500JSONResponse) VisitSignupDirectResponse

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

type SignupDirectJSONRequestBody

type SignupDirectJSONRequestBody = SignupRequest

SignupDirectJSONRequestBody defines body for SignupDirect for application/json ContentType.

type SignupDirectParams

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

SignupDirectParams defines parameters for SignupDirect.

type SignupDirectParamsAudience

type SignupDirectParamsAudience string

SignupDirectParamsAudience defines parameters for SignupDirect.

const (
	SignupDirectParamsAudienceApp SignupDirectParamsAudience = "app"
)

Defines values for SignupDirectParamsAudience.

func (SignupDirectParamsAudience) Valid

func (e SignupDirectParamsAudience) Valid() bool

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

type SignupDirectRequestObject

type SignupDirectRequestObject struct {
	Params SignupDirectParams
	Body   *SignupDirectJSONRequestBody
}

type SignupDirectResponseObject

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

type SignupRequest

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

SignupRequest defines model for SignupRequest.

type StartPasswordResetChallenge202JSONResponse added in v0.12.0

type StartPasswordResetChallenge202JSONResponse ChallengeReference

func (StartPasswordResetChallenge202JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

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

type StartPasswordResetChallenge400JSONResponse added in v0.12.0

type StartPasswordResetChallenge400JSONResponse struct{ ErrorJSONResponse }

func (StartPasswordResetChallenge400JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

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

type StartPasswordResetChallenge403JSONResponse added in v0.12.0

type StartPasswordResetChallenge403JSONResponse ErrorResponse

func (StartPasswordResetChallenge403JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

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

type StartPasswordResetChallenge429JSONResponse added in v0.12.0

type StartPasswordResetChallenge429JSONResponse ErrorResponse

func (StartPasswordResetChallenge429JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

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

type StartPasswordResetChallenge500JSONResponse added in v0.12.0

type StartPasswordResetChallenge500JSONResponse ErrorResponse

func (StartPasswordResetChallenge500JSONResponse) VisitStartPasswordResetChallengeResponse added in v0.12.0

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

type StartPasswordResetChallengeJSONRequestBody added in v0.12.0

type StartPasswordResetChallengeJSONRequestBody = PasswordResetRequest

StartPasswordResetChallengeJSONRequestBody defines body for StartPasswordResetChallenge for application/json ContentType.

type StartPasswordResetChallengeRequestObject added in v0.12.0

type StartPasswordResetChallengeRequestObject struct {
	Body *StartPasswordResetChallengeJSONRequestBody
}

type StartPasswordResetChallengeResponseObject added in v0.12.0

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

type StartSignupChallenge202JSONResponse

type StartSignupChallenge202JSONResponse SignupChallenge

func (StartSignupChallenge202JSONResponse) VisitStartSignupChallengeResponse

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

type StartSignupChallenge400JSONResponse

type StartSignupChallenge400JSONResponse struct{ ErrorJSONResponse }

func (StartSignupChallenge400JSONResponse) VisitStartSignupChallengeResponse

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

type StartSignupChallenge403JSONResponse

type StartSignupChallenge403JSONResponse ErrorResponse

func (StartSignupChallenge403JSONResponse) VisitStartSignupChallengeResponse

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

type StartSignupChallenge404JSONResponse

type StartSignupChallenge404JSONResponse ErrorResponse

func (StartSignupChallenge404JSONResponse) VisitStartSignupChallengeResponse

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

type StartSignupChallenge429JSONResponse

type StartSignupChallenge429JSONResponse ErrorResponse

func (StartSignupChallenge429JSONResponse) VisitStartSignupChallengeResponse

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

type StartSignupChallenge500JSONResponse

type StartSignupChallenge500JSONResponse ErrorResponse

func (StartSignupChallenge500JSONResponse) VisitStartSignupChallengeResponse

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

type StartSignupChallengeJSONRequestBody

type StartSignupChallengeJSONRequestBody = SignupRequest

StartSignupChallengeJSONRequestBody defines body for StartSignupChallenge for application/json ContentType.

type StartSignupChallengeParams

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

StartSignupChallengeParams defines parameters for StartSignupChallenge.

type StartSignupChallengeParamsAudience

type StartSignupChallengeParamsAudience string

StartSignupChallengeParamsAudience defines parameters for StartSignupChallenge.

const (
	StartSignupChallengeParamsAudienceApp StartSignupChallengeParamsAudience = "app"
)

Defines values for StartSignupChallengeParamsAudience.

func (StartSignupChallengeParamsAudience) Valid

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

type StartSignupChallengeRequestObject

type StartSignupChallengeRequestObject struct {
	Params StartSignupChallengeParams
	Body   *StartSignupChallengeJSONRequestBody
}

type StartSignupChallengeResponseObject

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

type StrictHTTPServerOptions

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

type StrictHandlerFunc

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

func CaptureRequest

func CaptureRequest(next StrictHandlerFunc, _ string) StrictHandlerFunc

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

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	// 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)
	// LoginWithPassword Log in with email and password
	// (POST /auth/api/v1/login)
	LoginWithPassword(ctx context.Context, request LoginWithPasswordRequestObject) (LoginWithPasswordResponseObject, error)
	// LoginWithGoogle Log in with a Google ID token
	// (POST /auth/api/v1/oauth/google)
	LoginWithGoogle(ctx context.Context, request LoginWithGoogleRequestObject) (LoginWithGoogleResponseObject, error)
	// GetGoogleLoginOptions Get Google login options
	// (GET /auth/api/v1/oauth/google/options)
	GetGoogleLoginOptions(ctx context.Context, request GetGoogleLoginOptionsRequestObject) (GetGoogleLoginOptionsResponseObject, error)
	// ListCurrentUserOrganizations List organizations for the authenticated user
	// (GET /auth/api/v1/organizations)
	ListCurrentUserOrganizations(ctx context.Context, request ListCurrentUserOrganizationsRequestObject) (ListCurrentUserOrganizationsResponseObject, error)
	// GetCurrentOrganization Get the organization in the current access token
	// (GET /auth/api/v1/organizations/current)
	GetCurrentOrganization(ctx context.Context, request GetCurrentOrganizationRequestObject) (GetCurrentOrganizationResponseObject, error)
	// ListCurrentOrganizationMembers List members of the current organization
	// (GET /auth/api/v1/organizations/current/members)
	ListCurrentOrganizationMembers(ctx context.Context, request ListCurrentOrganizationMembersRequestObject) (ListCurrentOrganizationMembersResponseObject, error)
	// GetPublicOrganization Get an organization
	// (GET /auth/api/v1/organizations/{organizationID})
	GetPublicOrganization(ctx context.Context, request GetPublicOrganizationRequestObject) (GetPublicOrganizationResponseObject, error)
	// UpdatePublicOrganization Update an organization
	// (PATCH /auth/api/v1/organizations/{organizationID})
	UpdatePublicOrganization(ctx context.Context, request UpdatePublicOrganizationRequestObject) (UpdatePublicOrganizationResponseObject, error)
	// ListPublicOrganizationInvitations List organization invitations
	// (GET /auth/api/v1/organizations/{organizationID}/invitations)
	ListPublicOrganizationInvitations(ctx context.Context, request ListPublicOrganizationInvitationsRequestObject) (ListPublicOrganizationInvitationsResponseObject, error)
	// GetPublicOrganizationInvitation Get an organization invitation
	// (GET /auth/api/v1/organizations/{organizationID}/invitations/{invitationID})
	GetPublicOrganizationInvitation(ctx context.Context, request GetPublicOrganizationInvitationRequestObject) (GetPublicOrganizationInvitationResponseObject, error)
	// RevokePublicOrganizationInvitation Revoke an organization invitation
	// (POST /auth/api/v1/organizations/{organizationID}/invitations/{invitationID}/revoke)
	RevokePublicOrganizationInvitation(ctx context.Context, request RevokePublicOrganizationInvitationRequestObject) (RevokePublicOrganizationInvitationResponseObject, error)
	// ListPublicOrganizationMembers List organization members
	// (GET /auth/api/v1/organizations/{organizationID}/members)
	ListPublicOrganizationMembers(ctx context.Context, request ListPublicOrganizationMembersRequestObject) (ListPublicOrganizationMembersResponseObject, error)
	// GetPublicOrganizationMember Get an organization member
	// (GET /auth/api/v1/organizations/{organizationID}/members/{userID})
	GetPublicOrganizationMember(ctx context.Context, request GetPublicOrganizationMemberRequestObject) (GetPublicOrganizationMemberResponseObject, error)
	// SwitchOrganization Switch the current session to another organization
	// (POST /auth/api/v1/organizations/{organizationID}/switch)
	SwitchOrganization(ctx context.Context, request SwitchOrganizationRequestObject) (SwitchOrganizationResponseObject, error)
	// FinishPasskeyAuthentication Finish passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/finish)
	FinishPasskeyAuthentication(ctx context.Context, request FinishPasskeyAuthenticationRequestObject) (FinishPasskeyAuthenticationResponseObject, error)
	// BeginPasskeyAuthentication Start passkey authentication
	// (POST /auth/api/v1/passkeys/authenticate/options)
	BeginPasskeyAuthentication(ctx context.Context, request BeginPasskeyAuthenticationRequestObject) (BeginPasskeyAuthenticationResponseObject, error)
	// FinishPasskeyRegistration Finish passkey registration
	// (POST /auth/api/v1/passkeys/register/finish)
	FinishPasskeyRegistration(ctx context.Context, request FinishPasskeyRegistrationRequestObject) (FinishPasskeyRegistrationResponseObject, error)
	// BeginPasskeyRegistration Start passkey registration
	// (POST /auth/api/v1/passkeys/register/options)
	BeginPasskeyRegistration(ctx context.Context, request BeginPasskeyRegistrationRequestObject) (BeginPasskeyRegistrationResponseObject, error)
	// StartPasswordResetChallenge Start a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges)
	StartPasswordResetChallenge(ctx context.Context, request StartPasswordResetChallengeRequestObject) (StartPasswordResetChallengeResponseObject, error)
	// VerifyPasswordResetChallenge Verify a password reset challenge
	// (POST /auth/api/v1/password-reset/challenges/verify)
	VerifyPasswordResetChallenge(ctx context.Context, request VerifyPasswordResetChallengeRequestObject) (VerifyPasswordResetChallengeResponseObject, error)
	// Logout Log out the current session
	// (POST /auth/api/v1/sessions/logout)
	Logout(ctx context.Context, request LogoutRequestObject) (LogoutResponseObject, error)
	// RefreshSession Refresh a cookie-backed session
	// (POST /auth/api/v1/sessions/refresh)
	RefreshSession(ctx context.Context, request RefreshSessionRequestObject) (RefreshSessionResponseObject, error)
	// StartSignupChallenge Start challenge-based signup
	// (POST /auth/api/v1/signup/challenges)
	StartSignupChallenge(ctx context.Context, request StartSignupChallengeRequestObject) (StartSignupChallengeResponseObject, error)
	// VerifySignupChallenge Verify a signup challenge and create the account
	// (POST /auth/api/v1/signup/challenges/verify)
	VerifySignupChallenge(ctx context.Context, request VerifySignupChallengeRequestObject) (VerifySignupChallengeResponseObject, error)
	// SignupDirect Create an account without a signup challenge
	// (POST /auth/api/v1/signup/direct)
	SignupDirect(ctx context.Context, request SignupDirectRequestObject) (SignupDirectResponseObject, error)
	// RefreshTokens Refresh tokens supplied in JSON
	// (POST /auth/api/v1/tokens/refresh)
	RefreshTokens(ctx context.Context, request RefreshTokensRequestObject) (RefreshTokensResponseObject, error)
	// GetCurrentUser Get the authenticated user
	// (GET /auth/api/v1/user)
	GetCurrentUser(ctx context.Context, request GetCurrentUserRequestObject) (GetCurrentUserResponseObject, error)
	// SetCurrentUserPassword Set the authenticated user's password
	// (PUT /auth/api/v1/users/password)
	SetCurrentUserPassword(ctx context.Context, request SetCurrentUserPasswordRequestObject) (SetCurrentUserPasswordResponseObject, error)
	// ListPublicUserMemberships List memberships for the authenticated user
	// (GET /auth/api/v1/users/{userID}/memberships)
	ListPublicUserMemberships(ctx context.Context, request ListPublicUserMembershipsRequestObject) (ListPublicUserMembershipsResponseObject, error)
	// CreateInternalOrganization Create a team organization
	// (POST /auth/internal/v1/organizations)
	CreateInternalOrganization(ctx context.Context, request CreateInternalOrganizationRequestObject) (CreateInternalOrganizationResponseObject, error)
	// DeleteInternalOrganization Delete a team organization
	// (DELETE /auth/internal/v1/organizations/{organizationID})
	DeleteInternalOrganization(ctx context.Context, request DeleteInternalOrganizationRequestObject) (DeleteInternalOrganizationResponseObject, error)
	// CreateInternalOrganizationInvitation Create an organization invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations)
	CreateInternalOrganizationInvitation(ctx context.Context, request CreateInternalOrganizationInvitationRequestObject) (CreateInternalOrganizationInvitationResponseObject, error)
	// ResendInternalOrganizationInvitation Replace an organization invitation with a fresh invitation
	// (POST /auth/internal/v1/organizations/{organizationID}/invitations/{invitationID}/resend)
	ResendInternalOrganizationInvitation(ctx context.Context, request ResendInternalOrganizationInvitationRequestObject) (ResendInternalOrganizationInvitationResponseObject, error)
	// RemoveInternalOrganizationMember Remove an organization member
	// (DELETE /auth/internal/v1/organizations/{organizationID}/members/{userID})
	RemoveInternalOrganizationMember(ctx context.Context, request RemoveInternalOrganizationMemberRequestObject) (RemoveInternalOrganizationMemberResponseObject, error)
	// TransferInternalOrganizationOwnership Transfer organization ownership
	// (POST /auth/internal/v1/organizations/{organizationID}/ownership-transfer)
	TransferInternalOrganizationOwnership(ctx context.Context, request TransferInternalOrganizationOwnershipRequestObject) (TransferInternalOrganizationOwnershipResponseObject, error)
	// DeleteInternalUser Delete a user
	// (DELETE /auth/internal/v1/users/{userID})
	DeleteInternalUser(ctx context.Context, request DeleteInternalUserRequestObject) (DeleteInternalUserResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SwitchOrganization200HeadersResponse

type SwitchOrganization200HeadersResponse struct {
	Header http.Header
	Body   Tokens
}

func (SwitchOrganization200HeadersResponse) VisitSwitchOrganizationResponse

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

type SwitchOrganization200JSONResponse

type SwitchOrganization200JSONResponse Tokens

func (SwitchOrganization200JSONResponse) VisitSwitchOrganizationResponse

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

type SwitchOrganization400JSONResponse

type SwitchOrganization400JSONResponse struct{ ErrorJSONResponse }

func (SwitchOrganization400JSONResponse) VisitSwitchOrganizationResponse

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

type SwitchOrganization401JSONResponse

type SwitchOrganization401JSONResponse ErrorResponse

func (SwitchOrganization401JSONResponse) VisitSwitchOrganizationResponse

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

type SwitchOrganization403JSONResponse

type SwitchOrganization403JSONResponse ErrorResponse

func (SwitchOrganization403JSONResponse) VisitSwitchOrganizationResponse

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

type SwitchOrganization500JSONResponse

type SwitchOrganization500JSONResponse ErrorResponse

func (SwitchOrganization500JSONResponse) VisitSwitchOrganizationResponse

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

type SwitchOrganizationParams

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

SwitchOrganizationParams defines parameters for SwitchOrganization.

type SwitchOrganizationParamsAudience

type SwitchOrganizationParamsAudience string

SwitchOrganizationParamsAudience defines parameters for SwitchOrganization.

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

Defines values for SwitchOrganizationParamsAudience.

func (SwitchOrganizationParamsAudience) Valid

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

type SwitchOrganizationRequestObject

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

type SwitchOrganizationResponseObject

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

type TokenRefreshRequest

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

TokenRefreshRequest defines model for TokenRefreshRequest.

type TokenRefreshRequestAudience

type TokenRefreshRequestAudience string

TokenRefreshRequestAudience defines model for TokenRefreshRequest.Audience.

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

Defines values for TokenRefreshRequestAudience.

func (TokenRefreshRequestAudience) Valid

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

type Tokens

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

Tokens defines model for Tokens.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type TransferInternalOrganizationOwnership204Response added in v0.14.0

type TransferInternalOrganizationOwnership204Response struct {
}

func (TransferInternalOrganizationOwnership204Response) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnership400JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership400JSONResponse struct{ ErrorJSONResponse }

func (TransferInternalOrganizationOwnership400JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnership401JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership401JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership401JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnership403JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership403JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership403JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnership404JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership404JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership404JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnership409JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership409JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership409JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnership500JSONResponse added in v0.14.0

type TransferInternalOrganizationOwnership500JSONResponse ErrorResponse

func (TransferInternalOrganizationOwnership500JSONResponse) VisitTransferInternalOrganizationOwnershipResponse added in v0.14.0

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

type TransferInternalOrganizationOwnershipJSONRequestBody added in v0.14.0

type TransferInternalOrganizationOwnershipJSONRequestBody = InternalOwnershipTransferRequest

TransferInternalOrganizationOwnershipJSONRequestBody defines body for TransferInternalOrganizationOwnership for application/json ContentType.

type TransferInternalOrganizationOwnershipRequestObject added in v0.14.0

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

type TransferInternalOrganizationOwnershipResponseObject added in v0.14.0

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

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) BeginPasskeyAuthentication

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

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

func (Unimplemented) BeginPasskeyRegistration

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

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

func (Unimplemented) 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) DeleteInternalOrganization added in v0.14.0

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

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

func (Unimplemented) DeleteInternalUser added in v0.14.0

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

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

func (Unimplemented) FinishPasskeyAuthentication

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

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

func (Unimplemented) FinishPasskeyRegistration

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

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

func (Unimplemented) GetCsrfToken

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

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

func (Unimplemented) 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) ListCurrentOrganizationMembers

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

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

func (Unimplemented) ListCurrentUserOrganizations

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

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

func (Unimplemented) ListPublicOrganizationInvitations

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

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

func (Unimplemented) ListPublicOrganizationMembers

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

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

func (Unimplemented) ListPublicUserMemberships

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

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

func (Unimplemented) 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 email and 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) 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) 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) 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) UpdatePublicOrganization

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

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

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 UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateOrganizationRequest

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

UpdateOrganizationRequest defines model for UpdateOrganizationRequest.

type UpdatePublicOrganization200JSONResponse

type UpdatePublicOrganization200JSONResponse OrganizationEnvelope

func (UpdatePublicOrganization200JSONResponse) VisitUpdatePublicOrganizationResponse

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

type UpdatePublicOrganization400JSONResponse

type UpdatePublicOrganization400JSONResponse struct{ ErrorJSONResponse }

func (UpdatePublicOrganization400JSONResponse) VisitUpdatePublicOrganizationResponse

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

type UpdatePublicOrganization401JSONResponse

type UpdatePublicOrganization401JSONResponse ErrorResponse

func (UpdatePublicOrganization401JSONResponse) VisitUpdatePublicOrganizationResponse

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

type UpdatePublicOrganization403JSONResponse

type UpdatePublicOrganization403JSONResponse ErrorResponse

func (UpdatePublicOrganization403JSONResponse) VisitUpdatePublicOrganizationResponse

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

type UpdatePublicOrganization404JSONResponse

type UpdatePublicOrganization404JSONResponse ErrorResponse

func (UpdatePublicOrganization404JSONResponse) VisitUpdatePublicOrganizationResponse

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

type UpdatePublicOrganization500JSONResponse

type UpdatePublicOrganization500JSONResponse ErrorResponse

func (UpdatePublicOrganization500JSONResponse) VisitUpdatePublicOrganizationResponse

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

type UpdatePublicOrganizationJSONRequestBody

type UpdatePublicOrganizationJSONRequestBody = UpdateOrganizationRequest

UpdatePublicOrganizationJSONRequestBody defines body for UpdatePublicOrganization for application/json ContentType.

type UpdatePublicOrganizationRequestObject

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

type UpdatePublicOrganizationResponseObject

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

type UserID

type UserID = openapi_types.UUID

UserID defines model for UserID.

type UserMemberships

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

UserMemberships defines model for UserMemberships.

type VerifyPasswordResetChallenge204Response added in v0.12.0

type VerifyPasswordResetChallenge204Response struct {
}

func (VerifyPasswordResetChallenge204Response) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

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

type VerifyPasswordResetChallenge400JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge400JSONResponse struct{ ErrorJSONResponse }

func (VerifyPasswordResetChallenge400JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

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

type VerifyPasswordResetChallenge403JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge403JSONResponse ErrorResponse

func (VerifyPasswordResetChallenge403JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

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

type VerifyPasswordResetChallenge429JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge429JSONResponse ErrorResponse

func (VerifyPasswordResetChallenge429JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

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

type VerifyPasswordResetChallenge500JSONResponse added in v0.12.0

type VerifyPasswordResetChallenge500JSONResponse ErrorResponse

func (VerifyPasswordResetChallenge500JSONResponse) VisitVerifyPasswordResetChallengeResponse added in v0.12.0

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

type VerifyPasswordResetChallengeJSONRequestBody added in v0.12.0

type VerifyPasswordResetChallengeJSONRequestBody = PasswordResetChallengeVerification

VerifyPasswordResetChallengeJSONRequestBody defines body for VerifyPasswordResetChallenge for application/json ContentType.

type VerifyPasswordResetChallengeRequestObject added in v0.12.0

type VerifyPasswordResetChallengeRequestObject struct {
	Body *VerifyPasswordResetChallengeJSONRequestBody
}

type VerifyPasswordResetChallengeResponseObject added in v0.12.0

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

type VerifySignupChallenge201HeadersResponse

type VerifySignupChallenge201HeadersResponse struct {
	Header http.Header
	Body   AuthSession
}

func (VerifySignupChallenge201HeadersResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallenge201JSONResponse

type VerifySignupChallenge201JSONResponse AuthSession

func (VerifySignupChallenge201JSONResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallenge400JSONResponse

type VerifySignupChallenge400JSONResponse struct{ ErrorJSONResponse }

func (VerifySignupChallenge400JSONResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallenge403JSONResponse

type VerifySignupChallenge403JSONResponse ErrorResponse

func (VerifySignupChallenge403JSONResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallenge404JSONResponse

type VerifySignupChallenge404JSONResponse ErrorResponse

func (VerifySignupChallenge404JSONResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallenge429JSONResponse

type VerifySignupChallenge429JSONResponse ErrorResponse

func (VerifySignupChallenge429JSONResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallenge500JSONResponse

type VerifySignupChallenge500JSONResponse ErrorResponse

func (VerifySignupChallenge500JSONResponse) VisitVerifySignupChallengeResponse

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

type VerifySignupChallengeJSONRequestBody

type VerifySignupChallengeJSONRequestBody = SignupChallengeVerification

VerifySignupChallengeJSONRequestBody defines body for VerifySignupChallenge for application/json ContentType.

type VerifySignupChallengeParams

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

VerifySignupChallengeParams defines parameters for VerifySignupChallenge.

type VerifySignupChallengeParamsAudience

type VerifySignupChallengeParamsAudience string

VerifySignupChallengeParamsAudience defines parameters for VerifySignupChallenge.

const (
	VerifySignupChallengeParamsAudienceApp VerifySignupChallengeParamsAudience = "app"
)

Defines values for VerifySignupChallengeParamsAudience.

func (VerifySignupChallengeParamsAudience) Valid

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

type VerifySignupChallengeRequestObject

type VerifySignupChallengeRequestObject struct {
	Params VerifySignupChallengeParams
	Body   *VerifySignupChallengeJSONRequestBody
}

type VerifySignupChallengeResponseObject

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

Jump to

Keyboard shortcuts

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