Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
Index ¶
- Constants
- func NewAuthEventCreateRequest(server string, userID UserID, body AuthEventCreateJSONRequestBody) (*http.Request, error)
- func NewAuthEventCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- func NewChallengeCreateRequest(server string, userID UserID, body ChallengeCreateJSONRequestBody) (*http.Request, error)
- func NewChallengeCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- func NewChallengeUpdateRequest(server string, userID UserID, challengeID ChallengeID, ...) (*http.Request, error)
- func NewChallengeUpdateRequestWithBody(server string, userID UserID, challengeID ChallengeID, contentType string, ...) (*http.Request, error)
- func NewConnectTokenCreateRequest(server string, body ConnectTokenCreateJSONRequestBody) (*http.Request, error)
- func NewConnectTokenCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectTokenDeleteRequest(server string, connectTokenID ConnectTokenID) (*http.Request, error)
- func NewConnectTokenListRequest(server string, params *ConnectTokenListParams) (*http.Request, error)
- func NewConnectTokenUpdateRequest(server string, connectTokenID ConnectTokenID, ...) (*http.Request, error)
- func NewConnectTokenUpdateRequestWithBody(server string, connectTokenID ConnectTokenID, contentType string, ...) (*http.Request, error)
- func NewCredentialDeleteRequest(server string, userID UserID, credentialID CredentialID) (*http.Request, error)
- func NewCredentialListRequest(server string, userID UserID, params *CredentialListParams) (*http.Request, error)
- func NewIdentifierCreateRequest(server string, userID UserID, body IdentifierCreateJSONRequestBody) (*http.Request, error)
- func NewIdentifierCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- func NewIdentifierDeleteRequest(server string, userID UserID, identifierID IdentifierID) (*http.Request, error)
- func NewIdentifierListRequest(server string, params *IdentifierListParams) (*http.Request, error)
- func NewIdentifierUpdateRequest(server string, userID UserID, identifierID IdentifierID, ...) (*http.Request, error)
- func NewIdentifierUpdateRequestWithBody(server string, userID UserID, identifierID IdentifierID, contentType string, ...) (*http.Request, error)
- func NewLongSessionCreateRequest(server string, userID UserID, body LongSessionCreateJSONRequestBody) (*http.Request, error)
- func NewLongSessionCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- func NewLongSessionGetRequest(server string, longSessionID LongSessionID) (*http.Request, error)
- func NewLongSessionUpdateRequest(server string, userID UserID, longSessionID LongSessionID, ...) (*http.Request, error)
- func NewLongSessionUpdateRequestWithBody(server string, userID UserID, longSessionID LongSessionID, contentType string, ...) (*http.Request, error)
- func NewPasskeyAppendFinishRequest(server string, body PasskeyAppendFinishJSONRequestBody) (*http.Request, error)
- func NewPasskeyAppendFinishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyAppendStartRequest(server string, body PasskeyAppendStartJSONRequestBody) (*http.Request, error)
- func NewPasskeyAppendStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyChallengeListRequest(server string, userID UserID, params *PasskeyChallengeListParams) (*http.Request, error)
- func NewPasskeyChallengeUpdateRequest(server string, userID UserID, passkeyChallengeID PasskeyChallengeID, ...) (*http.Request, error)
- func NewPasskeyChallengeUpdateRequestWithBody(server string, userID UserID, passkeyChallengeID PasskeyChallengeID, ...) (*http.Request, error)
- func NewPasskeyEventCreateRequest(server string, userID UserID, body PasskeyEventCreateJSONRequestBody) (*http.Request, error)
- func NewPasskeyEventCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyEventDeleteRequest(server string, userID UserID, passkeyEventID PasskeyEventID) (*http.Request, error)
- func NewPasskeyEventListRequest(server string, userID UserID, params *PasskeyEventListParams) (*http.Request, error)
- func NewPasskeyLoginFinishRequest(server string, body PasskeyLoginFinishJSONRequestBody) (*http.Request, error)
- func NewPasskeyLoginFinishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyLoginStartRequest(server string, body PasskeyLoginStartJSONRequestBody) (*http.Request, error)
- func NewPasskeyLoginStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyMediationFinishRequest(server string, body PasskeyMediationFinishJSONRequestBody) (*http.Request, error)
- func NewPasskeyMediationFinishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPasskeyMediationStartRequest(server string, body PasskeyMediationStartJSONRequestBody) (*http.Request, error)
- func NewPasskeyMediationStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectConfigUpdateCNAMERequest(server string, body ProjectConfigUpdateCNAMEJSONRequestBody) (*http.Request, error)
- func NewProjectConfigUpdateCNAMERequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewShortSessionCreateRequest(server string, userID UserID, longSessionID LongSessionID, ...) (*http.Request, error)
- func NewShortSessionCreateRequestWithBody(server string, userID UserID, longSessionID LongSessionID, contentType string, ...) (*http.Request, error)
- func NewSocialAccountCreateRequest(server string, userID UserID, body SocialAccountCreateJSONRequestBody) (*http.Request, error)
- func NewSocialAccountCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- func NewSocialAccountListRequest(server string, params *SocialAccountListParams) (*http.Request, error)
- func NewUserCreateRequest(server string, body UserCreateJSONRequestBody) (*http.Request, error)
- func NewUserCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUserDeleteRequest(server string, userID UserID) (*http.Request, error)
- func NewUserGetRequest(server string, userID UserID) (*http.Request, error)
- func NewUserLongSessionGetRequest(server string, userID UserID, longSessionID LongSessionID) (*http.Request, error)
- func NewUserSocialAccountListRequest(server string, userID UserID, params *UserSocialAccountListParams) (*http.Request, error)
- func NewUserUpdateRequest(server string, userID UserID, body UserUpdateJSONRequestBody) (*http.Request, error)
- func NewUserUpdateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
- type AuthEvent
- type AuthEventCreateJSONRequestBody
- type AuthEventCreateReq
- type AuthEventCreateResponse
- type AuthEventMethod
- type AuthEventStatus
- type AuthEventType
- type Challenge
- type ChallengeCreateJSONRequestBody
- type ChallengeCreateReq
- type ChallengeCreateResponse
- type ChallengeID
- type ChallengeStatus
- type ChallengeType
- type ChallengeUpdateJSONRequestBody
- type ChallengeUpdateReq
- type ChallengeUpdateResponse
- type Client
- func (c *Client) AuthEventCreate(ctx context.Context, userID UserID, body AuthEventCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthEventCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ChallengeCreate(ctx context.Context, userID UserID, body ChallengeCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ChallengeCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ChallengeUpdate(ctx context.Context, userID UserID, challengeID ChallengeID, ...) (*http.Response, error)
- func (c *Client) ChallengeUpdateWithBody(ctx context.Context, userID UserID, challengeID ChallengeID, ...) (*http.Response, error)
- func (c *Client) ConnectTokenCreate(ctx context.Context, body ConnectTokenCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConnectTokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConnectTokenDelete(ctx context.Context, connectTokenID ConnectTokenID, ...) (*http.Response, error)
- func (c *Client) ConnectTokenList(ctx context.Context, params *ConnectTokenListParams, ...) (*http.Response, error)
- func (c *Client) ConnectTokenUpdate(ctx context.Context, connectTokenID ConnectTokenID, ...) (*http.Response, error)
- func (c *Client) ConnectTokenUpdateWithBody(ctx context.Context, connectTokenID ConnectTokenID, contentType string, ...) (*http.Response, error)
- func (c *Client) CredentialDelete(ctx context.Context, userID UserID, credentialID CredentialID, ...) (*http.Response, error)
- func (c *Client) CredentialList(ctx context.Context, userID UserID, params *CredentialListParams, ...) (*http.Response, error)
- func (c *Client) IdentifierCreate(ctx context.Context, userID UserID, body IdentifierCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IdentifierCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) IdentifierDelete(ctx context.Context, userID UserID, identifierID IdentifierID, ...) (*http.Response, error)
- func (c *Client) IdentifierList(ctx context.Context, params *IdentifierListParams, ...) (*http.Response, error)
- func (c *Client) IdentifierUpdate(ctx context.Context, userID UserID, identifierID IdentifierID, ...) (*http.Response, error)
- func (c *Client) IdentifierUpdateWithBody(ctx context.Context, userID UserID, identifierID IdentifierID, ...) (*http.Response, error)
- func (c *Client) LongSessionCreate(ctx context.Context, userID UserID, body LongSessionCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LongSessionCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LongSessionGet(ctx context.Context, longSessionID LongSessionID, ...) (*http.Response, error)
- func (c *Client) LongSessionUpdate(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*http.Response, error)
- func (c *Client) LongSessionUpdateWithBody(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*http.Response, error)
- func (c *Client) PasskeyAppendFinish(ctx context.Context, body PasskeyAppendFinishJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyAppendFinishWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyAppendStart(ctx context.Context, body PasskeyAppendStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyAppendStartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyChallengeList(ctx context.Context, userID UserID, params *PasskeyChallengeListParams, ...) (*http.Response, error)
- func (c *Client) PasskeyChallengeUpdate(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, ...) (*http.Response, error)
- func (c *Client) PasskeyChallengeUpdateWithBody(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, ...) (*http.Response, error)
- func (c *Client) PasskeyEventCreate(ctx context.Context, userID UserID, body PasskeyEventCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyEventCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyEventDelete(ctx context.Context, userID UserID, passkeyEventID PasskeyEventID, ...) (*http.Response, error)
- func (c *Client) PasskeyEventList(ctx context.Context, userID UserID, params *PasskeyEventListParams, ...) (*http.Response, error)
- func (c *Client) PasskeyLoginFinish(ctx context.Context, body PasskeyLoginFinishJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyLoginFinishWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyLoginStart(ctx context.Context, body PasskeyLoginStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyLoginStartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyMediationFinish(ctx context.Context, body PasskeyMediationFinishJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyMediationFinishWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PasskeyMediationStart(ctx context.Context, body PasskeyMediationStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PasskeyMediationStartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectConfigUpdateCNAME(ctx context.Context, body ProjectConfigUpdateCNAMEJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProjectConfigUpdateCNAMEWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ShortSessionCreate(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*http.Response, error)
- func (c *Client) ShortSessionCreateWithBody(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*http.Response, error)
- func (c *Client) SocialAccountCreate(ctx context.Context, userID UserID, body SocialAccountCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SocialAccountCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SocialAccountList(ctx context.Context, params *SocialAccountListParams, ...) (*http.Response, error)
- func (c *Client) UserCreate(ctx context.Context, body UserCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UserDelete(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserGet(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UserLongSessionGet(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*http.Response, error)
- func (c *Client) UserSocialAccountList(ctx context.Context, userID UserID, params *UserSocialAccountListParams, ...) (*http.Response, error)
- func (c *Client) UserUpdate(ctx context.Context, userID UserID, body UserUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UserUpdateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInformation
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AuthEventCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*AuthEventCreateResponse, error)
- func (c *ClientWithResponses) AuthEventCreateWithResponse(ctx context.Context, userID UserID, body AuthEventCreateJSONRequestBody, ...) (*AuthEventCreateResponse, error)
- func (c *ClientWithResponses) ChallengeCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*ChallengeCreateResponse, error)
- func (c *ClientWithResponses) ChallengeCreateWithResponse(ctx context.Context, userID UserID, body ChallengeCreateJSONRequestBody, ...) (*ChallengeCreateResponse, error)
- func (c *ClientWithResponses) ChallengeUpdateWithBodyWithResponse(ctx context.Context, userID UserID, challengeID ChallengeID, ...) (*ChallengeUpdateResponse, error)
- func (c *ClientWithResponses) ChallengeUpdateWithResponse(ctx context.Context, userID UserID, challengeID ChallengeID, ...) (*ChallengeUpdateResponse, error)
- func (c *ClientWithResponses) ConnectTokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConnectTokenCreateResponse, error)
- func (c *ClientWithResponses) ConnectTokenCreateWithResponse(ctx context.Context, body ConnectTokenCreateJSONRequestBody, ...) (*ConnectTokenCreateResponse, error)
- func (c *ClientWithResponses) ConnectTokenDeleteWithResponse(ctx context.Context, connectTokenID ConnectTokenID, ...) (*ConnectTokenDeleteResponse, error)
- func (c *ClientWithResponses) ConnectTokenListWithResponse(ctx context.Context, params *ConnectTokenListParams, ...) (*ConnectTokenListResponse, error)
- func (c *ClientWithResponses) ConnectTokenUpdateWithBodyWithResponse(ctx context.Context, connectTokenID ConnectTokenID, contentType string, ...) (*ConnectTokenUpdateResponse, error)
- func (c *ClientWithResponses) ConnectTokenUpdateWithResponse(ctx context.Context, connectTokenID ConnectTokenID, ...) (*ConnectTokenUpdateResponse, error)
- func (c *ClientWithResponses) CredentialDeleteWithResponse(ctx context.Context, userID UserID, credentialID CredentialID, ...) (*CredentialDeleteResponse, error)
- func (c *ClientWithResponses) CredentialListWithResponse(ctx context.Context, userID UserID, params *CredentialListParams, ...) (*CredentialListResponse, error)
- func (c *ClientWithResponses) IdentifierCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*IdentifierCreateResponse, error)
- func (c *ClientWithResponses) IdentifierCreateWithResponse(ctx context.Context, userID UserID, body IdentifierCreateJSONRequestBody, ...) (*IdentifierCreateResponse, error)
- func (c *ClientWithResponses) IdentifierDeleteWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, ...) (*IdentifierDeleteResponse, error)
- func (c *ClientWithResponses) IdentifierListWithResponse(ctx context.Context, params *IdentifierListParams, ...) (*IdentifierListResponse, error)
- func (c *ClientWithResponses) IdentifierUpdateWithBodyWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, ...) (*IdentifierUpdateResponse, error)
- func (c *ClientWithResponses) IdentifierUpdateWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, ...) (*IdentifierUpdateResponse, error)
- func (c *ClientWithResponses) LongSessionCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*LongSessionCreateResponse, error)
- func (c *ClientWithResponses) LongSessionCreateWithResponse(ctx context.Context, userID UserID, body LongSessionCreateJSONRequestBody, ...) (*LongSessionCreateResponse, error)
- func (c *ClientWithResponses) LongSessionGetWithResponse(ctx context.Context, longSessionID LongSessionID, ...) (*LongSessionGetResponse, error)
- func (c *ClientWithResponses) LongSessionUpdateWithBodyWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*LongSessionUpdateResponse, error)
- func (c *ClientWithResponses) LongSessionUpdateWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*LongSessionUpdateResponse, error)
- func (c *ClientWithResponses) PasskeyAppendFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeyAppendFinishResponse, error)
- func (c *ClientWithResponses) PasskeyAppendFinishWithResponse(ctx context.Context, body PasskeyAppendFinishJSONRequestBody, ...) (*PasskeyAppendFinishResponse, error)
- func (c *ClientWithResponses) PasskeyAppendStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeyAppendStartResponse, error)
- func (c *ClientWithResponses) PasskeyAppendStartWithResponse(ctx context.Context, body PasskeyAppendStartJSONRequestBody, ...) (*PasskeyAppendStartResponse, error)
- func (c *ClientWithResponses) PasskeyChallengeListWithResponse(ctx context.Context, userID UserID, params *PasskeyChallengeListParams, ...) (*PasskeyChallengeListResponse, error)
- func (c *ClientWithResponses) PasskeyChallengeUpdateWithBodyWithResponse(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, ...) (*PasskeyChallengeUpdateResponse, error)
- func (c *ClientWithResponses) PasskeyChallengeUpdateWithResponse(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, ...) (*PasskeyChallengeUpdateResponse, error)
- func (c *ClientWithResponses) PasskeyEventCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*PasskeyEventCreateResponse, error)
- func (c *ClientWithResponses) PasskeyEventCreateWithResponse(ctx context.Context, userID UserID, body PasskeyEventCreateJSONRequestBody, ...) (*PasskeyEventCreateResponse, error)
- func (c *ClientWithResponses) PasskeyEventDeleteWithResponse(ctx context.Context, userID UserID, passkeyEventID PasskeyEventID, ...) (*PasskeyEventDeleteResponse, error)
- func (c *ClientWithResponses) PasskeyEventListWithResponse(ctx context.Context, userID UserID, params *PasskeyEventListParams, ...) (*PasskeyEventListResponse, error)
- func (c *ClientWithResponses) PasskeyLoginFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeyLoginFinishResponse, error)
- func (c *ClientWithResponses) PasskeyLoginFinishWithResponse(ctx context.Context, body PasskeyLoginFinishJSONRequestBody, ...) (*PasskeyLoginFinishResponse, error)
- func (c *ClientWithResponses) PasskeyLoginStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeyLoginStartResponse, error)
- func (c *ClientWithResponses) PasskeyLoginStartWithResponse(ctx context.Context, body PasskeyLoginStartJSONRequestBody, ...) (*PasskeyLoginStartResponse, error)
- func (c *ClientWithResponses) PasskeyMediationFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeyMediationFinishResponse, error)
- func (c *ClientWithResponses) PasskeyMediationFinishWithResponse(ctx context.Context, body PasskeyMediationFinishJSONRequestBody, ...) (*PasskeyMediationFinishResponse, error)
- func (c *ClientWithResponses) PasskeyMediationStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PasskeyMediationStartResponse, error)
- func (c *ClientWithResponses) PasskeyMediationStartWithResponse(ctx context.Context, body PasskeyMediationStartJSONRequestBody, ...) (*PasskeyMediationStartResponse, error)
- func (c *ClientWithResponses) ProjectConfigUpdateCNAMEWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProjectConfigUpdateCNAMEResponse, error)
- func (c *ClientWithResponses) ProjectConfigUpdateCNAMEWithResponse(ctx context.Context, body ProjectConfigUpdateCNAMEJSONRequestBody, ...) (*ProjectConfigUpdateCNAMEResponse, error)
- func (c *ClientWithResponses) ShortSessionCreateWithBodyWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*ShortSessionCreateResponse, error)
- func (c *ClientWithResponses) ShortSessionCreateWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*ShortSessionCreateResponse, error)
- func (c *ClientWithResponses) SocialAccountCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*SocialAccountCreateResponse, error)
- func (c *ClientWithResponses) SocialAccountCreateWithResponse(ctx context.Context, userID UserID, body SocialAccountCreateJSONRequestBody, ...) (*SocialAccountCreateResponse, error)
- func (c *ClientWithResponses) SocialAccountListWithResponse(ctx context.Context, params *SocialAccountListParams, ...) (*SocialAccountListResponse, error)
- func (c *ClientWithResponses) UserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UserCreateResponse, error)
- func (c *ClientWithResponses) UserCreateWithResponse(ctx context.Context, body UserCreateJSONRequestBody, ...) (*UserCreateResponse, error)
- func (c *ClientWithResponses) UserDeleteWithResponse(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*UserDeleteResponse, error)
- func (c *ClientWithResponses) UserGetWithResponse(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*UserGetResponse, error)
- func (c *ClientWithResponses) UserLongSessionGetWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, ...) (*UserLongSessionGetResponse, error)
- func (c *ClientWithResponses) UserSocialAccountListWithResponse(ctx context.Context, userID UserID, params *UserSocialAccountListParams, ...) (*UserSocialAccountListResponse, error)
- func (c *ClientWithResponses) UserUpdateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, ...) (*UserUpdateResponse, error)
- func (c *ClientWithResponses) UserUpdateWithResponse(ctx context.Context, userID UserID, body UserUpdateJSONRequestBody, ...) (*UserUpdateResponse, error)
- type ClientWithResponsesInterface
- type ConnectToken
- type ConnectTokenCreateJSONRequestBody
- type ConnectTokenCreateReq
- type ConnectTokenCreateResponse
- type ConnectTokenData
- func (t ConnectTokenData) AsConnectTokenDataPasskeyAppend() (ConnectTokenDataPasskeyAppend, error)
- func (t ConnectTokenData) AsConnectTokenDataPasskeyDelete() (ConnectTokenDataPasskeyDelete, error)
- func (t ConnectTokenData) AsConnectTokenDataPasskeyList() (ConnectTokenDataPasskeyList, error)
- func (t *ConnectTokenData) FromConnectTokenDataPasskeyAppend(v ConnectTokenDataPasskeyAppend) error
- func (t *ConnectTokenData) FromConnectTokenDataPasskeyDelete(v ConnectTokenDataPasskeyDelete) error
- func (t *ConnectTokenData) FromConnectTokenDataPasskeyList(v ConnectTokenDataPasskeyList) error
- func (t ConnectTokenData) MarshalJSON() ([]byte, error)
- func (t *ConnectTokenData) MergeConnectTokenDataPasskeyAppend(v ConnectTokenDataPasskeyAppend) error
- func (t *ConnectTokenData) MergeConnectTokenDataPasskeyDelete(v ConnectTokenDataPasskeyDelete) error
- func (t *ConnectTokenData) MergeConnectTokenDataPasskeyList(v ConnectTokenDataPasskeyList) error
- func (t *ConnectTokenData) UnmarshalJSON(b []byte) error
- type ConnectTokenDataPasskeyAppend
- type ConnectTokenDataPasskeyDelete
- type ConnectTokenDataPasskeyList
- type ConnectTokenDeleteResponse
- type ConnectTokenID
- type ConnectTokenList
- type ConnectTokenListParams
- type ConnectTokenListResponse
- type ConnectTokenStatus
- type ConnectTokenType
- type ConnectTokenUpdateJSONRequestBody
- type ConnectTokenUpdateReq
- type ConnectTokenUpdateResponse
- type Credential
- type CredentialDeleteResponse
- type CredentialID
- type CredentialList
- type CredentialListParams
- type CredentialListResponse
- type CredentialStatus
- type CredentialTransport
- type CrossDeviceAuthenticationStrategy
- type DecisionTag
- type DetectionTag
- type DetectionTagCategory
- type Error
- type HttpRequestDoer
- type Identifier
- type IdentifierCreateJSONRequestBody
- type IdentifierCreateReq
- type IdentifierCreateResponse
- type IdentifierDeleteResponse
- type IdentifierID
- type IdentifierList
- type IdentifierListParams
- type IdentifierListResponse
- type IdentifierStatus
- type IdentifierType
- type IdentifierUpdateJSONRequestBody
- type IdentifierUpdateReq
- type IdentifierUpdateResponse
- type JavaScriptHighEntropy
- type LongSession
- type LongSessionCreateJSONRequestBody
- type LongSessionCreateReq
- type LongSessionCreateResponse
- type LongSessionGetResponse
- type LongSessionID
- type LongSessionStatus
- type LongSessionUpdateJSONRequestBody
- type LongSessionUpdateReq
- type LongSessionUpdateResponse
- type N200
- type PasskeyAppendFinishJSONRequestBody
- type PasskeyAppendFinishReq
- type PasskeyAppendFinishResponse
- type PasskeyAppendFinishRsp
- type PasskeyAppendStartJSONRequestBody
- type PasskeyAppendStartReq
- type PasskeyAppendStartResponse
- type PasskeyAppendStartRsp
- type PasskeyChallenge
- type PasskeyChallengeID
- type PasskeyChallengeList
- type PasskeyChallengeListParams
- type PasskeyChallengeListResponse
- type PasskeyChallengeStatus
- type PasskeyChallengeType
- type PasskeyChallengeUpdateJSONRequestBody
- type PasskeyChallengeUpdateReq
- type PasskeyChallengeUpdateResponse
- type PasskeyData
- type PasskeyDataCeremonyType
- type PasskeyEvent
- type PasskeyEventCreateJSONRequestBody
- type PasskeyEventCreateReq
- type PasskeyEventCreateResponse
- type PasskeyEventDeleteResponse
- type PasskeyEventID
- type PasskeyEventList
- type PasskeyEventListParams
- type PasskeyEventListResponse
- type PasskeyEventType
- type PasskeyIntelFlags
- type PasskeyLoginFinishJSONRequestBody
- type PasskeyLoginFinishReq
- type PasskeyLoginFinishResponse
- type PasskeyLoginFinishRsp
- type PasskeyLoginStartJSONRequestBody
- type PasskeyLoginStartReq
- type PasskeyLoginStartResponse
- type PasskeyLoginStartRsp
- type PasskeyMediationFinishJSONRequestBody
- type PasskeyMediationFinishReq
- type PasskeyMediationFinishResponse
- type PasskeyMediationFinishRsp
- type PasskeyMediationStartJSONRequestBody
- type PasskeyMediationStartReq
- type PasskeyMediationStartResponse
- type PasskeyMediationStartRsp
- type ProjectConfigUpdateCNAMEJSONRequestBody
- type ProjectConfigUpdateCNAMEResponse
- type ProjectConfigUpdateCnameReq
- type RequestEditorFn
- type ShortSession
- type ShortSessionCreateJSONRequestBody
- type ShortSessionCreateReq
- type ShortSessionCreateResponse
- type SocialAccount
- type SocialAccountCreateJSONRequestBody
- type SocialAccountCreateReq
- type SocialAccountCreateResponse
- type SocialAccountList
- type SocialAccountListParams
- type SocialAccountListResponse
- type User
- type UserCreateJSONRequestBody
- type UserCreateReq
- type UserCreateResponse
- type UserDeleteResponse
- type UserGetResponse
- type UserID
- type UserLongSessionGetResponse
- type UserSocialAccountListParams
- type UserSocialAccountListResponse
- type UserStatus
- type UserUpdateJSONRequestBody
- type UserUpdateReq
- type UserUpdateResponse
Constants ¶
const (
BasicAuthScopes = "basicAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAuthEventCreateRequest ¶
func NewAuthEventCreateRequest(server string, userID UserID, body AuthEventCreateJSONRequestBody) (*http.Request, error)
NewAuthEventCreateRequest calls the generic AuthEventCreate builder with application/json body
func NewAuthEventCreateRequestWithBody ¶
func NewAuthEventCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
NewAuthEventCreateRequestWithBody generates requests for AuthEventCreate with any type of body
func NewChallengeCreateRequest ¶
func NewChallengeCreateRequest(server string, userID UserID, body ChallengeCreateJSONRequestBody) (*http.Request, error)
NewChallengeCreateRequest calls the generic ChallengeCreate builder with application/json body
func NewChallengeCreateRequestWithBody ¶
func NewChallengeCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
NewChallengeCreateRequestWithBody generates requests for ChallengeCreate with any type of body
func NewChallengeUpdateRequest ¶
func NewChallengeUpdateRequest(server string, userID UserID, challengeID ChallengeID, body ChallengeUpdateJSONRequestBody) (*http.Request, error)
NewChallengeUpdateRequest calls the generic ChallengeUpdate builder with application/json body
func NewChallengeUpdateRequestWithBody ¶
func NewChallengeUpdateRequestWithBody(server string, userID UserID, challengeID ChallengeID, contentType string, body io.Reader) (*http.Request, error)
NewChallengeUpdateRequestWithBody generates requests for ChallengeUpdate with any type of body
func NewConnectTokenCreateRequest ¶
func NewConnectTokenCreateRequest(server string, body ConnectTokenCreateJSONRequestBody) (*http.Request, error)
NewConnectTokenCreateRequest calls the generic ConnectTokenCreate builder with application/json body
func NewConnectTokenCreateRequestWithBody ¶
func NewConnectTokenCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConnectTokenCreateRequestWithBody generates requests for ConnectTokenCreate with any type of body
func NewConnectTokenDeleteRequest ¶
func NewConnectTokenDeleteRequest(server string, connectTokenID ConnectTokenID) (*http.Request, error)
NewConnectTokenDeleteRequest generates requests for ConnectTokenDelete
func NewConnectTokenListRequest ¶
func NewConnectTokenListRequest(server string, params *ConnectTokenListParams) (*http.Request, error)
NewConnectTokenListRequest generates requests for ConnectTokenList
func NewConnectTokenUpdateRequest ¶
func NewConnectTokenUpdateRequest(server string, connectTokenID ConnectTokenID, body ConnectTokenUpdateJSONRequestBody) (*http.Request, error)
NewConnectTokenUpdateRequest calls the generic ConnectTokenUpdate builder with application/json body
func NewConnectTokenUpdateRequestWithBody ¶
func NewConnectTokenUpdateRequestWithBody(server string, connectTokenID ConnectTokenID, contentType string, body io.Reader) (*http.Request, error)
NewConnectTokenUpdateRequestWithBody generates requests for ConnectTokenUpdate with any type of body
func NewCredentialDeleteRequest ¶
func NewCredentialDeleteRequest(server string, userID UserID, credentialID CredentialID) (*http.Request, error)
NewCredentialDeleteRequest generates requests for CredentialDelete
func NewCredentialListRequest ¶
func NewCredentialListRequest(server string, userID UserID, params *CredentialListParams) (*http.Request, error)
NewCredentialListRequest generates requests for CredentialList
func NewIdentifierCreateRequest ¶
func NewIdentifierCreateRequest(server string, userID UserID, body IdentifierCreateJSONRequestBody) (*http.Request, error)
NewIdentifierCreateRequest calls the generic IdentifierCreate builder with application/json body
func NewIdentifierCreateRequestWithBody ¶
func NewIdentifierCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
NewIdentifierCreateRequestWithBody generates requests for IdentifierCreate with any type of body
func NewIdentifierDeleteRequest ¶
func NewIdentifierDeleteRequest(server string, userID UserID, identifierID IdentifierID) (*http.Request, error)
NewIdentifierDeleteRequest generates requests for IdentifierDelete
func NewIdentifierListRequest ¶
func NewIdentifierListRequest(server string, params *IdentifierListParams) (*http.Request, error)
NewIdentifierListRequest generates requests for IdentifierList
func NewIdentifierUpdateRequest ¶
func NewIdentifierUpdateRequest(server string, userID UserID, identifierID IdentifierID, body IdentifierUpdateJSONRequestBody) (*http.Request, error)
NewIdentifierUpdateRequest calls the generic IdentifierUpdate builder with application/json body
func NewIdentifierUpdateRequestWithBody ¶
func NewIdentifierUpdateRequestWithBody(server string, userID UserID, identifierID IdentifierID, contentType string, body io.Reader) (*http.Request, error)
NewIdentifierUpdateRequestWithBody generates requests for IdentifierUpdate with any type of body
func NewLongSessionCreateRequest ¶
func NewLongSessionCreateRequest(server string, userID UserID, body LongSessionCreateJSONRequestBody) (*http.Request, error)
NewLongSessionCreateRequest calls the generic LongSessionCreate builder with application/json body
func NewLongSessionCreateRequestWithBody ¶
func NewLongSessionCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
NewLongSessionCreateRequestWithBody generates requests for LongSessionCreate with any type of body
func NewLongSessionGetRequest ¶
func NewLongSessionGetRequest(server string, longSessionID LongSessionID) (*http.Request, error)
NewLongSessionGetRequest generates requests for LongSessionGet
func NewLongSessionUpdateRequest ¶
func NewLongSessionUpdateRequest(server string, userID UserID, longSessionID LongSessionID, body LongSessionUpdateJSONRequestBody) (*http.Request, error)
NewLongSessionUpdateRequest calls the generic LongSessionUpdate builder with application/json body
func NewLongSessionUpdateRequestWithBody ¶
func NewLongSessionUpdateRequestWithBody(server string, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader) (*http.Request, error)
NewLongSessionUpdateRequestWithBody generates requests for LongSessionUpdate with any type of body
func NewPasskeyAppendFinishRequest ¶
func NewPasskeyAppendFinishRequest(server string, body PasskeyAppendFinishJSONRequestBody) (*http.Request, error)
NewPasskeyAppendFinishRequest calls the generic PasskeyAppendFinish builder with application/json body
func NewPasskeyAppendFinishRequestWithBody ¶
func NewPasskeyAppendFinishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyAppendFinishRequestWithBody generates requests for PasskeyAppendFinish with any type of body
func NewPasskeyAppendStartRequest ¶
func NewPasskeyAppendStartRequest(server string, body PasskeyAppendStartJSONRequestBody) (*http.Request, error)
NewPasskeyAppendStartRequest calls the generic PasskeyAppendStart builder with application/json body
func NewPasskeyAppendStartRequestWithBody ¶
func NewPasskeyAppendStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyAppendStartRequestWithBody generates requests for PasskeyAppendStart with any type of body
func NewPasskeyChallengeListRequest ¶
func NewPasskeyChallengeListRequest(server string, userID UserID, params *PasskeyChallengeListParams) (*http.Request, error)
NewPasskeyChallengeListRequest generates requests for PasskeyChallengeList
func NewPasskeyChallengeUpdateRequest ¶
func NewPasskeyChallengeUpdateRequest(server string, userID UserID, passkeyChallengeID PasskeyChallengeID, body PasskeyChallengeUpdateJSONRequestBody) (*http.Request, error)
NewPasskeyChallengeUpdateRequest calls the generic PasskeyChallengeUpdate builder with application/json body
func NewPasskeyChallengeUpdateRequestWithBody ¶
func NewPasskeyChallengeUpdateRequestWithBody(server string, userID UserID, passkeyChallengeID PasskeyChallengeID, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyChallengeUpdateRequestWithBody generates requests for PasskeyChallengeUpdate with any type of body
func NewPasskeyEventCreateRequest ¶
func NewPasskeyEventCreateRequest(server string, userID UserID, body PasskeyEventCreateJSONRequestBody) (*http.Request, error)
NewPasskeyEventCreateRequest calls the generic PasskeyEventCreate builder with application/json body
func NewPasskeyEventCreateRequestWithBody ¶
func NewPasskeyEventCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyEventCreateRequestWithBody generates requests for PasskeyEventCreate with any type of body
func NewPasskeyEventDeleteRequest ¶
func NewPasskeyEventDeleteRequest(server string, userID UserID, passkeyEventID PasskeyEventID) (*http.Request, error)
NewPasskeyEventDeleteRequest generates requests for PasskeyEventDelete
func NewPasskeyEventListRequest ¶
func NewPasskeyEventListRequest(server string, userID UserID, params *PasskeyEventListParams) (*http.Request, error)
NewPasskeyEventListRequest generates requests for PasskeyEventList
func NewPasskeyLoginFinishRequest ¶
func NewPasskeyLoginFinishRequest(server string, body PasskeyLoginFinishJSONRequestBody) (*http.Request, error)
NewPasskeyLoginFinishRequest calls the generic PasskeyLoginFinish builder with application/json body
func NewPasskeyLoginFinishRequestWithBody ¶
func NewPasskeyLoginFinishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyLoginFinishRequestWithBody generates requests for PasskeyLoginFinish with any type of body
func NewPasskeyLoginStartRequest ¶
func NewPasskeyLoginStartRequest(server string, body PasskeyLoginStartJSONRequestBody) (*http.Request, error)
NewPasskeyLoginStartRequest calls the generic PasskeyLoginStart builder with application/json body
func NewPasskeyLoginStartRequestWithBody ¶
func NewPasskeyLoginStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyLoginStartRequestWithBody generates requests for PasskeyLoginStart with any type of body
func NewPasskeyMediationFinishRequest ¶
func NewPasskeyMediationFinishRequest(server string, body PasskeyMediationFinishJSONRequestBody) (*http.Request, error)
NewPasskeyMediationFinishRequest calls the generic PasskeyMediationFinish builder with application/json body
func NewPasskeyMediationFinishRequestWithBody ¶
func NewPasskeyMediationFinishRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyMediationFinishRequestWithBody generates requests for PasskeyMediationFinish with any type of body
func NewPasskeyMediationStartRequest ¶
func NewPasskeyMediationStartRequest(server string, body PasskeyMediationStartJSONRequestBody) (*http.Request, error)
NewPasskeyMediationStartRequest calls the generic PasskeyMediationStart builder with application/json body
func NewPasskeyMediationStartRequestWithBody ¶
func NewPasskeyMediationStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPasskeyMediationStartRequestWithBody generates requests for PasskeyMediationStart with any type of body
func NewProjectConfigUpdateCNAMERequest ¶
func NewProjectConfigUpdateCNAMERequest(server string, body ProjectConfigUpdateCNAMEJSONRequestBody) (*http.Request, error)
NewProjectConfigUpdateCNAMERequest calls the generic ProjectConfigUpdateCNAME builder with application/json body
func NewProjectConfigUpdateCNAMERequestWithBody ¶
func NewProjectConfigUpdateCNAMERequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProjectConfigUpdateCNAMERequestWithBody generates requests for ProjectConfigUpdateCNAME with any type of body
func NewShortSessionCreateRequest ¶
func NewShortSessionCreateRequest(server string, userID UserID, longSessionID LongSessionID, body ShortSessionCreateJSONRequestBody) (*http.Request, error)
NewShortSessionCreateRequest calls the generic ShortSessionCreate builder with application/json body
func NewShortSessionCreateRequestWithBody ¶
func NewShortSessionCreateRequestWithBody(server string, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader) (*http.Request, error)
NewShortSessionCreateRequestWithBody generates requests for ShortSessionCreate with any type of body
func NewSocialAccountCreateRequest ¶
func NewSocialAccountCreateRequest(server string, userID UserID, body SocialAccountCreateJSONRequestBody) (*http.Request, error)
NewSocialAccountCreateRequest calls the generic SocialAccountCreate builder with application/json body
func NewSocialAccountCreateRequestWithBody ¶
func NewSocialAccountCreateRequestWithBody(server string, userID UserID, contentType string, body io.Reader) (*http.Request, error)
NewSocialAccountCreateRequestWithBody generates requests for SocialAccountCreate with any type of body
func NewSocialAccountListRequest ¶
func NewSocialAccountListRequest(server string, params *SocialAccountListParams) (*http.Request, error)
NewSocialAccountListRequest generates requests for SocialAccountList
func NewUserCreateRequest ¶
func NewUserCreateRequest(server string, body UserCreateJSONRequestBody) (*http.Request, error)
NewUserCreateRequest calls the generic UserCreate builder with application/json body
func NewUserCreateRequestWithBody ¶
func NewUserCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUserCreateRequestWithBody generates requests for UserCreate with any type of body
func NewUserDeleteRequest ¶
NewUserDeleteRequest generates requests for UserDelete
func NewUserGetRequest ¶
NewUserGetRequest generates requests for UserGet
func NewUserLongSessionGetRequest ¶
func NewUserLongSessionGetRequest(server string, userID UserID, longSessionID LongSessionID) (*http.Request, error)
NewUserLongSessionGetRequest generates requests for UserLongSessionGet
func NewUserSocialAccountListRequest ¶
func NewUserSocialAccountListRequest(server string, userID UserID, params *UserSocialAccountListParams) (*http.Request, error)
NewUserSocialAccountListRequest generates requests for UserSocialAccountList
func NewUserUpdateRequest ¶
func NewUserUpdateRequest(server string, userID UserID, body UserUpdateJSONRequestBody) (*http.Request, error)
NewUserUpdateRequest calls the generic UserUpdate builder with application/json body
Types ¶
type AuthEvent ¶
type AuthEvent struct {
AuthEventID string `json:"authEventID"`
// Created Timestamp of when the entity was created in yyyy-MM-dd'T'HH:mm:ss format
Created externalRef0.Created `json:"created"`
EventType AuthEventType `json:"eventType"`
Method AuthEventMethod `json:"method"`
Status AuthEventStatus `json:"status"`
// UserID ID of the user
UserID externalRef0.UserID `json:"userID"`
Username string `json:"username"`
}
AuthEvent defines model for authEvent.
type AuthEventCreateJSONRequestBody ¶
type AuthEventCreateJSONRequestBody = AuthEventCreateReq
AuthEventCreateJSONRequestBody defines body for AuthEventCreate for application/json ContentType.
type AuthEventCreateReq ¶
type AuthEventCreateReq struct {
ClientInformation ClientInformation `json:"clientInformation"`
EventType AuthEventType `json:"eventType"`
Method AuthEventMethod `json:"method"`
Status AuthEventStatus `json:"status"`
Username string `json:"username"`
}
AuthEventCreateReq defines model for authEventCreateReq.
type AuthEventCreateResponse ¶
type AuthEventCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AuthEvent
JSONDefault *Error
}
func ParseAuthEventCreateResponse ¶
func ParseAuthEventCreateResponse(rsp *http.Response) (*AuthEventCreateResponse, error)
ParseAuthEventCreateResponse parses an HTTP response from a AuthEventCreateWithResponse call
func (AuthEventCreateResponse) Status ¶
func (r AuthEventCreateResponse) Status() string
Status returns HTTPResponse.Status
func (AuthEventCreateResponse) StatusCode ¶
func (r AuthEventCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthEventMethod ¶
type AuthEventMethod string
AuthEventMethod defines model for authEventMethod.
const ( AuthEventMethodEmailLink AuthEventMethod = "email_link" AuthEventMethodEmailOtp AuthEventMethod = "email_otp" AuthEventMethodPasskey AuthEventMethod = "passkey" AuthEventMethodPassword AuthEventMethod = "password" AuthEventMethodPhoneOtp AuthEventMethod = "phone_otp" AuthEventMethodSocialGithub AuthEventMethod = "social_github" AuthEventMethodSocialGoogle AuthEventMethod = "social_google" AuthEventMethodSocialMicrosoft AuthEventMethod = "social_microsoft" )
Defines values for AuthEventMethod.
type AuthEventStatus ¶
type AuthEventStatus string
AuthEventStatus defines model for authEventStatus.
const ( Failure AuthEventStatus = "failure" Success AuthEventStatus = "success" )
Defines values for AuthEventStatus.
type AuthEventType ¶
type AuthEventType string
AuthEventType defines model for authEventType.
const ( Login AuthEventType = "login" NewPasskeyAdded AuthEventType = "new_passkey_added" SignUp AuthEventType = "sign_up" )
Defines values for AuthEventType.
type Challenge ¶
type Challenge struct {
ChallengeID string `json:"challengeID"`
IdentifierValue string `json:"identifierValue"`
Status ChallengeStatus `json:"status"`
Type ChallengeType `json:"type"`
Value string `json:"value"`
}
Challenge defines model for challenge.
type ChallengeCreateJSONRequestBody ¶
type ChallengeCreateJSONRequestBody = ChallengeCreateReq
ChallengeCreateJSONRequestBody defines body for ChallengeCreate for application/json ContentType.
type ChallengeCreateReq ¶
type ChallengeCreateReq struct {
ChallengeMetadata *map[string]interface{} `json:"challengeMetadata,omitempty"`
ChallengeType ChallengeType `json:"challengeType"`
ClientInformation ClientInformation `json:"clientInformation"`
IdentifierValue string `json:"identifierValue"`
}
ChallengeCreateReq defines model for challengeCreateReq.
type ChallengeCreateResponse ¶
type ChallengeCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Challenge
JSONDefault *Error
}
func ParseChallengeCreateResponse ¶
func ParseChallengeCreateResponse(rsp *http.Response) (*ChallengeCreateResponse, error)
ParseChallengeCreateResponse parses an HTTP response from a ChallengeCreateWithResponse call
func (ChallengeCreateResponse) Status ¶
func (r ChallengeCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ChallengeCreateResponse) StatusCode ¶
func (r ChallengeCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChallengeStatus ¶
type ChallengeStatus string
ChallengeStatus defines model for challengeStatus.
const ( ChallengeStatusCompleted ChallengeStatus = "completed" ChallengeStatusExpired ChallengeStatus = "expired" ChallengeStatusPending ChallengeStatus = "pending" )
Defines values for ChallengeStatus.
type ChallengeType ¶
type ChallengeType string
ChallengeType defines model for challengeType.
const ( ChallengeTypeEmailLink ChallengeType = "email_link" ChallengeTypeEmailOtp ChallengeType = "email_otp" ChallengeTypeSmsOtp ChallengeType = "sms_otp" )
Defines values for ChallengeType.
type ChallengeUpdateJSONRequestBody ¶
type ChallengeUpdateJSONRequestBody = ChallengeUpdateReq
ChallengeUpdateJSONRequestBody defines body for ChallengeUpdate for application/json ContentType.
type ChallengeUpdateReq ¶
type ChallengeUpdateReq struct {
Value string `json:"value"`
}
ChallengeUpdateReq defines model for challengeUpdateReq.
type ChallengeUpdateResponse ¶
type ChallengeUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Challenge
JSONDefault *Error
}
func ParseChallengeUpdateResponse ¶
func ParseChallengeUpdateResponse(rsp *http.Response) (*ChallengeUpdateResponse, error)
ParseChallengeUpdateResponse parses an HTTP response from a ChallengeUpdateWithResponse call
func (ChallengeUpdateResponse) Status ¶
func (r ChallengeUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ChallengeUpdateResponse) StatusCode ¶
func (r ChallengeUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AuthEventCreate ¶
func (c *Client) AuthEventCreate(ctx context.Context, userID UserID, body AuthEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AuthEventCreateWithBody ¶
func (*Client) ChallengeCreate ¶
func (c *Client) ChallengeCreate(ctx context.Context, userID UserID, body ChallengeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ChallengeCreateWithBody ¶
func (*Client) ChallengeUpdate ¶
func (c *Client) ChallengeUpdate(ctx context.Context, userID UserID, challengeID ChallengeID, body ChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ChallengeUpdateWithBody ¶
func (*Client) ConnectTokenCreate ¶
func (c *Client) ConnectTokenCreate(ctx context.Context, body ConnectTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectTokenCreateWithBody ¶
func (*Client) ConnectTokenDelete ¶
func (c *Client) ConnectTokenDelete(ctx context.Context, connectTokenID ConnectTokenID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectTokenList ¶
func (c *Client) ConnectTokenList(ctx context.Context, params *ConnectTokenListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectTokenUpdate ¶
func (c *Client) ConnectTokenUpdate(ctx context.Context, connectTokenID ConnectTokenID, body ConnectTokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectTokenUpdateWithBody ¶
func (*Client) CredentialDelete ¶
func (c *Client) CredentialDelete(ctx context.Context, userID UserID, credentialID CredentialID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CredentialList ¶
func (c *Client) CredentialList(ctx context.Context, userID UserID, params *CredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IdentifierCreate ¶
func (c *Client) IdentifierCreate(ctx context.Context, userID UserID, body IdentifierCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IdentifierCreateWithBody ¶
func (*Client) IdentifierDelete ¶
func (c *Client) IdentifierDelete(ctx context.Context, userID UserID, identifierID IdentifierID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IdentifierList ¶
func (c *Client) IdentifierList(ctx context.Context, params *IdentifierListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IdentifierUpdate ¶
func (c *Client) IdentifierUpdate(ctx context.Context, userID UserID, identifierID IdentifierID, body IdentifierUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) IdentifierUpdateWithBody ¶
func (*Client) LongSessionCreate ¶
func (c *Client) LongSessionCreate(ctx context.Context, userID UserID, body LongSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LongSessionCreateWithBody ¶
func (*Client) LongSessionGet ¶
func (c *Client) LongSessionGet(ctx context.Context, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LongSessionUpdate ¶
func (c *Client) LongSessionUpdate(ctx context.Context, userID UserID, longSessionID LongSessionID, body LongSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LongSessionUpdateWithBody ¶
func (*Client) PasskeyAppendFinish ¶
func (c *Client) PasskeyAppendFinish(ctx context.Context, body PasskeyAppendFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyAppendFinishWithBody ¶
func (*Client) PasskeyAppendStart ¶
func (c *Client) PasskeyAppendStart(ctx context.Context, body PasskeyAppendStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyAppendStartWithBody ¶
func (*Client) PasskeyChallengeList ¶
func (c *Client) PasskeyChallengeList(ctx context.Context, userID UserID, params *PasskeyChallengeListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyChallengeUpdate ¶
func (c *Client) PasskeyChallengeUpdate(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, body PasskeyChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyChallengeUpdateWithBody ¶
func (*Client) PasskeyEventCreate ¶
func (c *Client) PasskeyEventCreate(ctx context.Context, userID UserID, body PasskeyEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyEventCreateWithBody ¶
func (*Client) PasskeyEventDelete ¶
func (c *Client) PasskeyEventDelete(ctx context.Context, userID UserID, passkeyEventID PasskeyEventID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyEventList ¶
func (c *Client) PasskeyEventList(ctx context.Context, userID UserID, params *PasskeyEventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyLoginFinish ¶
func (c *Client) PasskeyLoginFinish(ctx context.Context, body PasskeyLoginFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyLoginFinishWithBody ¶
func (*Client) PasskeyLoginStart ¶
func (c *Client) PasskeyLoginStart(ctx context.Context, body PasskeyLoginStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyLoginStartWithBody ¶
func (*Client) PasskeyMediationFinish ¶
func (c *Client) PasskeyMediationFinish(ctx context.Context, body PasskeyMediationFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyMediationFinishWithBody ¶
func (*Client) PasskeyMediationStart ¶
func (c *Client) PasskeyMediationStart(ctx context.Context, body PasskeyMediationStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PasskeyMediationStartWithBody ¶
func (*Client) ProjectConfigUpdateCNAME ¶
func (c *Client) ProjectConfigUpdateCNAME(ctx context.Context, body ProjectConfigUpdateCNAMEJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProjectConfigUpdateCNAMEWithBody ¶
func (*Client) ShortSessionCreate ¶
func (c *Client) ShortSessionCreate(ctx context.Context, userID UserID, longSessionID LongSessionID, body ShortSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ShortSessionCreateWithBody ¶
func (*Client) SocialAccountCreate ¶
func (c *Client) SocialAccountCreate(ctx context.Context, userID UserID, body SocialAccountCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SocialAccountCreateWithBody ¶
func (*Client) SocialAccountList ¶
func (c *Client) SocialAccountList(ctx context.Context, params *SocialAccountListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserCreate ¶
func (c *Client) UserCreate(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserCreateWithBody ¶
func (*Client) UserDelete ¶
func (*Client) UserLongSessionGet ¶
func (c *Client) UserLongSessionGet(ctx context.Context, userID UserID, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserSocialAccountList ¶
func (c *Client) UserSocialAccountList(ctx context.Context, userID UserID, params *UserSocialAccountListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UserUpdate ¶
func (c *Client) UserUpdate(ctx context.Context, userID UserID, body UserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInformation ¶
type ClientInformation struct {
// BluetoothAvailable Client's Bluetooth availability
BluetoothAvailable *bool `json:"bluetoothAvailable,omitempty"`
// ClientEnvHandle Client's environment handle
ClientEnvHandle *string `json:"clientEnvHandle,omitempty"`
ConditionalMediationAvailable bool `json:"conditionalMediationAvailable"`
JavaScriptHighEntropy *JavaScriptHighEntropy `json:"javaScriptHighEntropy,omitempty"`
// JavascriptFingerprint Client's fingerprint
JavascriptFingerprint *string `json:"javascriptFingerprint,omitempty"`
// PasswordManagerAvailable Client's password manager availability
PasswordManagerAvailable *bool `json:"passwordManagerAvailable,omitempty"`
// RemoteAddress Client's IP address
RemoteAddress string `json:"remoteAddress"`
// UserAgent Client's user agent
UserAgent string `json:"userAgent"`
UserVerifyingPlatformAuthenticatorAvailable bool `json:"userVerifyingPlatformAuthenticatorAvailable"`
}
ClientInformation defines model for clientInformation.
type ClientInterface ¶
type ClientInterface interface {
// ConnectTokenList request
ConnectTokenList(ctx context.Context, params *ConnectTokenListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectTokenCreateWithBody request with any body
ConnectTokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectTokenCreate(ctx context.Context, body ConnectTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectTokenDelete request
ConnectTokenDelete(ctx context.Context, connectTokenID ConnectTokenID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectTokenUpdateWithBody request with any body
ConnectTokenUpdateWithBody(ctx context.Context, connectTokenID ConnectTokenID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectTokenUpdate(ctx context.Context, connectTokenID ConnectTokenID, body ConnectTokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IdentifierList request
IdentifierList(ctx context.Context, params *IdentifierListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LongSessionGet request
LongSessionGet(ctx context.Context, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyAppendFinishWithBody request with any body
PasskeyAppendFinishWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyAppendFinish(ctx context.Context, body PasskeyAppendFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyAppendStartWithBody request with any body
PasskeyAppendStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyAppendStart(ctx context.Context, body PasskeyAppendStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyLoginFinishWithBody request with any body
PasskeyLoginFinishWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyLoginFinish(ctx context.Context, body PasskeyLoginFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyLoginStartWithBody request with any body
PasskeyLoginStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyLoginStart(ctx context.Context, body PasskeyLoginStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyMediationFinishWithBody request with any body
PasskeyMediationFinishWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyMediationFinish(ctx context.Context, body PasskeyMediationFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyMediationStartWithBody request with any body
PasskeyMediationStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyMediationStart(ctx context.Context, body PasskeyMediationStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectConfigUpdateCNAMEWithBody request with any body
ProjectConfigUpdateCNAMEWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectConfigUpdateCNAME(ctx context.Context, body ProjectConfigUpdateCNAMEJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SocialAccountList request
SocialAccountList(ctx context.Context, params *SocialAccountListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserCreateWithBody request with any body
UserCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UserCreate(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserDelete request
UserDelete(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserGet request
UserGet(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserUpdateWithBody request with any body
UserUpdateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UserUpdate(ctx context.Context, userID UserID, body UserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthEventCreateWithBody request with any body
AuthEventCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthEventCreate(ctx context.Context, userID UserID, body AuthEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChallengeCreateWithBody request with any body
ChallengeCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChallengeCreate(ctx context.Context, userID UserID, body ChallengeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChallengeUpdateWithBody request with any body
ChallengeUpdateWithBody(ctx context.Context, userID UserID, challengeID ChallengeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChallengeUpdate(ctx context.Context, userID UserID, challengeID ChallengeID, body ChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialList request
CredentialList(ctx context.Context, userID UserID, params *CredentialListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CredentialDelete request
CredentialDelete(ctx context.Context, userID UserID, credentialID CredentialID, reqEditors ...RequestEditorFn) (*http.Response, error)
// IdentifierCreateWithBody request with any body
IdentifierCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IdentifierCreate(ctx context.Context, userID UserID, body IdentifierCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IdentifierDelete request
IdentifierDelete(ctx context.Context, userID UserID, identifierID IdentifierID, reqEditors ...RequestEditorFn) (*http.Response, error)
// IdentifierUpdateWithBody request with any body
IdentifierUpdateWithBody(ctx context.Context, userID UserID, identifierID IdentifierID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IdentifierUpdate(ctx context.Context, userID UserID, identifierID IdentifierID, body IdentifierUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LongSessionCreateWithBody request with any body
LongSessionCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LongSessionCreate(ctx context.Context, userID UserID, body LongSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserLongSessionGet request
UserLongSessionGet(ctx context.Context, userID UserID, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*http.Response, error)
// LongSessionUpdateWithBody request with any body
LongSessionUpdateWithBody(ctx context.Context, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LongSessionUpdate(ctx context.Context, userID UserID, longSessionID LongSessionID, body LongSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ShortSessionCreateWithBody request with any body
ShortSessionCreateWithBody(ctx context.Context, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ShortSessionCreate(ctx context.Context, userID UserID, longSessionID LongSessionID, body ShortSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyChallengeList request
PasskeyChallengeList(ctx context.Context, userID UserID, params *PasskeyChallengeListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyChallengeUpdateWithBody request with any body
PasskeyChallengeUpdateWithBody(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyChallengeUpdate(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, body PasskeyChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyEventList request
PasskeyEventList(ctx context.Context, userID UserID, params *PasskeyEventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyEventCreateWithBody request with any body
PasskeyEventCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PasskeyEventCreate(ctx context.Context, userID UserID, body PasskeyEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PasskeyEventDelete request
PasskeyEventDelete(ctx context.Context, userID UserID, passkeyEventID PasskeyEventID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UserSocialAccountList request
UserSocialAccountList(ctx context.Context, userID UserID, params *UserSocialAccountListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SocialAccountCreateWithBody request with any body
SocialAccountCreateWithBody(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SocialAccountCreate(ctx context.Context, userID UserID, body SocialAccountCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AuthEventCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthEventCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthEventCreateResponse, error)
AuthEventCreateWithBodyWithResponse request with arbitrary body returning *AuthEventCreateResponse
func (*ClientWithResponses) AuthEventCreateWithResponse ¶
func (c *ClientWithResponses) AuthEventCreateWithResponse(ctx context.Context, userID UserID, body AuthEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthEventCreateResponse, error)
func (*ClientWithResponses) ChallengeCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ChallengeCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChallengeCreateResponse, error)
ChallengeCreateWithBodyWithResponse request with arbitrary body returning *ChallengeCreateResponse
func (*ClientWithResponses) ChallengeCreateWithResponse ¶
func (c *ClientWithResponses) ChallengeCreateWithResponse(ctx context.Context, userID UserID, body ChallengeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ChallengeCreateResponse, error)
func (*ClientWithResponses) ChallengeUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ChallengeUpdateWithBodyWithResponse(ctx context.Context, userID UserID, challengeID ChallengeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChallengeUpdateResponse, error)
ChallengeUpdateWithBodyWithResponse request with arbitrary body returning *ChallengeUpdateResponse
func (*ClientWithResponses) ChallengeUpdateWithResponse ¶
func (c *ClientWithResponses) ChallengeUpdateWithResponse(ctx context.Context, userID UserID, challengeID ChallengeID, body ChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ChallengeUpdateResponse, error)
func (*ClientWithResponses) ConnectTokenCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectTokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectTokenCreateResponse, error)
ConnectTokenCreateWithBodyWithResponse request with arbitrary body returning *ConnectTokenCreateResponse
func (*ClientWithResponses) ConnectTokenCreateWithResponse ¶
func (c *ClientWithResponses) ConnectTokenCreateWithResponse(ctx context.Context, body ConnectTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectTokenCreateResponse, error)
func (*ClientWithResponses) ConnectTokenDeleteWithResponse ¶
func (c *ClientWithResponses) ConnectTokenDeleteWithResponse(ctx context.Context, connectTokenID ConnectTokenID, reqEditors ...RequestEditorFn) (*ConnectTokenDeleteResponse, error)
ConnectTokenDeleteWithResponse request returning *ConnectTokenDeleteResponse
func (*ClientWithResponses) ConnectTokenListWithResponse ¶
func (c *ClientWithResponses) ConnectTokenListWithResponse(ctx context.Context, params *ConnectTokenListParams, reqEditors ...RequestEditorFn) (*ConnectTokenListResponse, error)
ConnectTokenListWithResponse request returning *ConnectTokenListResponse
func (*ClientWithResponses) ConnectTokenUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectTokenUpdateWithBodyWithResponse(ctx context.Context, connectTokenID ConnectTokenID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectTokenUpdateResponse, error)
ConnectTokenUpdateWithBodyWithResponse request with arbitrary body returning *ConnectTokenUpdateResponse
func (*ClientWithResponses) ConnectTokenUpdateWithResponse ¶
func (c *ClientWithResponses) ConnectTokenUpdateWithResponse(ctx context.Context, connectTokenID ConnectTokenID, body ConnectTokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectTokenUpdateResponse, error)
func (*ClientWithResponses) CredentialDeleteWithResponse ¶
func (c *ClientWithResponses) CredentialDeleteWithResponse(ctx context.Context, userID UserID, credentialID CredentialID, reqEditors ...RequestEditorFn) (*CredentialDeleteResponse, error)
CredentialDeleteWithResponse request returning *CredentialDeleteResponse
func (*ClientWithResponses) CredentialListWithResponse ¶
func (c *ClientWithResponses) CredentialListWithResponse(ctx context.Context, userID UserID, params *CredentialListParams, reqEditors ...RequestEditorFn) (*CredentialListResponse, error)
CredentialListWithResponse request returning *CredentialListResponse
func (*ClientWithResponses) IdentifierCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IdentifierCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IdentifierCreateResponse, error)
IdentifierCreateWithBodyWithResponse request with arbitrary body returning *IdentifierCreateResponse
func (*ClientWithResponses) IdentifierCreateWithResponse ¶
func (c *ClientWithResponses) IdentifierCreateWithResponse(ctx context.Context, userID UserID, body IdentifierCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IdentifierCreateResponse, error)
func (*ClientWithResponses) IdentifierDeleteWithResponse ¶
func (c *ClientWithResponses) IdentifierDeleteWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, reqEditors ...RequestEditorFn) (*IdentifierDeleteResponse, error)
IdentifierDeleteWithResponse request returning *IdentifierDeleteResponse
func (*ClientWithResponses) IdentifierListWithResponse ¶
func (c *ClientWithResponses) IdentifierListWithResponse(ctx context.Context, params *IdentifierListParams, reqEditors ...RequestEditorFn) (*IdentifierListResponse, error)
IdentifierListWithResponse request returning *IdentifierListResponse
func (*ClientWithResponses) IdentifierUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) IdentifierUpdateWithBodyWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IdentifierUpdateResponse, error)
IdentifierUpdateWithBodyWithResponse request with arbitrary body returning *IdentifierUpdateResponse
func (*ClientWithResponses) IdentifierUpdateWithResponse ¶
func (c *ClientWithResponses) IdentifierUpdateWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, body IdentifierUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IdentifierUpdateResponse, error)
func (*ClientWithResponses) LongSessionCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) LongSessionCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LongSessionCreateResponse, error)
LongSessionCreateWithBodyWithResponse request with arbitrary body returning *LongSessionCreateResponse
func (*ClientWithResponses) LongSessionCreateWithResponse ¶
func (c *ClientWithResponses) LongSessionCreateWithResponse(ctx context.Context, userID UserID, body LongSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*LongSessionCreateResponse, error)
func (*ClientWithResponses) LongSessionGetWithResponse ¶
func (c *ClientWithResponses) LongSessionGetWithResponse(ctx context.Context, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*LongSessionGetResponse, error)
LongSessionGetWithResponse request returning *LongSessionGetResponse
func (*ClientWithResponses) LongSessionUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) LongSessionUpdateWithBodyWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LongSessionUpdateResponse, error)
LongSessionUpdateWithBodyWithResponse request with arbitrary body returning *LongSessionUpdateResponse
func (*ClientWithResponses) LongSessionUpdateWithResponse ¶
func (c *ClientWithResponses) LongSessionUpdateWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, body LongSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*LongSessionUpdateResponse, error)
func (*ClientWithResponses) PasskeyAppendFinishWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyAppendFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyAppendFinishResponse, error)
PasskeyAppendFinishWithBodyWithResponse request with arbitrary body returning *PasskeyAppendFinishResponse
func (*ClientWithResponses) PasskeyAppendFinishWithResponse ¶
func (c *ClientWithResponses) PasskeyAppendFinishWithResponse(ctx context.Context, body PasskeyAppendFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyAppendFinishResponse, error)
func (*ClientWithResponses) PasskeyAppendStartWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyAppendStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyAppendStartResponse, error)
PasskeyAppendStartWithBodyWithResponse request with arbitrary body returning *PasskeyAppendStartResponse
func (*ClientWithResponses) PasskeyAppendStartWithResponse ¶
func (c *ClientWithResponses) PasskeyAppendStartWithResponse(ctx context.Context, body PasskeyAppendStartJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyAppendStartResponse, error)
func (*ClientWithResponses) PasskeyChallengeListWithResponse ¶
func (c *ClientWithResponses) PasskeyChallengeListWithResponse(ctx context.Context, userID UserID, params *PasskeyChallengeListParams, reqEditors ...RequestEditorFn) (*PasskeyChallengeListResponse, error)
PasskeyChallengeListWithResponse request returning *PasskeyChallengeListResponse
func (*ClientWithResponses) PasskeyChallengeUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyChallengeUpdateWithBodyWithResponse(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyChallengeUpdateResponse, error)
PasskeyChallengeUpdateWithBodyWithResponse request with arbitrary body returning *PasskeyChallengeUpdateResponse
func (*ClientWithResponses) PasskeyChallengeUpdateWithResponse ¶
func (c *ClientWithResponses) PasskeyChallengeUpdateWithResponse(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, body PasskeyChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyChallengeUpdateResponse, error)
func (*ClientWithResponses) PasskeyEventCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyEventCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyEventCreateResponse, error)
PasskeyEventCreateWithBodyWithResponse request with arbitrary body returning *PasskeyEventCreateResponse
func (*ClientWithResponses) PasskeyEventCreateWithResponse ¶
func (c *ClientWithResponses) PasskeyEventCreateWithResponse(ctx context.Context, userID UserID, body PasskeyEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyEventCreateResponse, error)
func (*ClientWithResponses) PasskeyEventDeleteWithResponse ¶
func (c *ClientWithResponses) PasskeyEventDeleteWithResponse(ctx context.Context, userID UserID, passkeyEventID PasskeyEventID, reqEditors ...RequestEditorFn) (*PasskeyEventDeleteResponse, error)
PasskeyEventDeleteWithResponse request returning *PasskeyEventDeleteResponse
func (*ClientWithResponses) PasskeyEventListWithResponse ¶
func (c *ClientWithResponses) PasskeyEventListWithResponse(ctx context.Context, userID UserID, params *PasskeyEventListParams, reqEditors ...RequestEditorFn) (*PasskeyEventListResponse, error)
PasskeyEventListWithResponse request returning *PasskeyEventListResponse
func (*ClientWithResponses) PasskeyLoginFinishWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyLoginFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyLoginFinishResponse, error)
PasskeyLoginFinishWithBodyWithResponse request with arbitrary body returning *PasskeyLoginFinishResponse
func (*ClientWithResponses) PasskeyLoginFinishWithResponse ¶
func (c *ClientWithResponses) PasskeyLoginFinishWithResponse(ctx context.Context, body PasskeyLoginFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyLoginFinishResponse, error)
func (*ClientWithResponses) PasskeyLoginStartWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyLoginStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyLoginStartResponse, error)
PasskeyLoginStartWithBodyWithResponse request with arbitrary body returning *PasskeyLoginStartResponse
func (*ClientWithResponses) PasskeyLoginStartWithResponse ¶
func (c *ClientWithResponses) PasskeyLoginStartWithResponse(ctx context.Context, body PasskeyLoginStartJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyLoginStartResponse, error)
func (*ClientWithResponses) PasskeyMediationFinishWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyMediationFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyMediationFinishResponse, error)
PasskeyMediationFinishWithBodyWithResponse request with arbitrary body returning *PasskeyMediationFinishResponse
func (*ClientWithResponses) PasskeyMediationFinishWithResponse ¶
func (c *ClientWithResponses) PasskeyMediationFinishWithResponse(ctx context.Context, body PasskeyMediationFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyMediationFinishResponse, error)
func (*ClientWithResponses) PasskeyMediationStartWithBodyWithResponse ¶
func (c *ClientWithResponses) PasskeyMediationStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyMediationStartResponse, error)
PasskeyMediationStartWithBodyWithResponse request with arbitrary body returning *PasskeyMediationStartResponse
func (*ClientWithResponses) PasskeyMediationStartWithResponse ¶
func (c *ClientWithResponses) PasskeyMediationStartWithResponse(ctx context.Context, body PasskeyMediationStartJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyMediationStartResponse, error)
func (*ClientWithResponses) ProjectConfigUpdateCNAMEWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectConfigUpdateCNAMEWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectConfigUpdateCNAMEResponse, error)
ProjectConfigUpdateCNAMEWithBodyWithResponse request with arbitrary body returning *ProjectConfigUpdateCNAMEResponse
func (*ClientWithResponses) ProjectConfigUpdateCNAMEWithResponse ¶
func (c *ClientWithResponses) ProjectConfigUpdateCNAMEWithResponse(ctx context.Context, body ProjectConfigUpdateCNAMEJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectConfigUpdateCNAMEResponse, error)
func (*ClientWithResponses) ShortSessionCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ShortSessionCreateWithBodyWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ShortSessionCreateResponse, error)
ShortSessionCreateWithBodyWithResponse request with arbitrary body returning *ShortSessionCreateResponse
func (*ClientWithResponses) ShortSessionCreateWithResponse ¶
func (c *ClientWithResponses) ShortSessionCreateWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, body ShortSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ShortSessionCreateResponse, error)
func (*ClientWithResponses) SocialAccountCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) SocialAccountCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SocialAccountCreateResponse, error)
SocialAccountCreateWithBodyWithResponse request with arbitrary body returning *SocialAccountCreateResponse
func (*ClientWithResponses) SocialAccountCreateWithResponse ¶
func (c *ClientWithResponses) SocialAccountCreateWithResponse(ctx context.Context, userID UserID, body SocialAccountCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SocialAccountCreateResponse, error)
func (*ClientWithResponses) SocialAccountListWithResponse ¶
func (c *ClientWithResponses) SocialAccountListWithResponse(ctx context.Context, params *SocialAccountListParams, reqEditors ...RequestEditorFn) (*SocialAccountListResponse, error)
SocialAccountListWithResponse request returning *SocialAccountListResponse
func (*ClientWithResponses) UserCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) UserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)
UserCreateWithBodyWithResponse request with arbitrary body returning *UserCreateResponse
func (*ClientWithResponses) UserCreateWithResponse ¶
func (c *ClientWithResponses) UserCreateWithResponse(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)
func (*ClientWithResponses) UserDeleteWithResponse ¶
func (c *ClientWithResponses) UserDeleteWithResponse(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*UserDeleteResponse, error)
UserDeleteWithResponse request returning *UserDeleteResponse
func (*ClientWithResponses) UserGetWithResponse ¶
func (c *ClientWithResponses) UserGetWithResponse(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*UserGetResponse, error)
UserGetWithResponse request returning *UserGetResponse
func (*ClientWithResponses) UserLongSessionGetWithResponse ¶
func (c *ClientWithResponses) UserLongSessionGetWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*UserLongSessionGetResponse, error)
UserLongSessionGetWithResponse request returning *UserLongSessionGetResponse
func (*ClientWithResponses) UserSocialAccountListWithResponse ¶
func (c *ClientWithResponses) UserSocialAccountListWithResponse(ctx context.Context, userID UserID, params *UserSocialAccountListParams, reqEditors ...RequestEditorFn) (*UserSocialAccountListResponse, error)
UserSocialAccountListWithResponse request returning *UserSocialAccountListResponse
func (*ClientWithResponses) UserUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) UserUpdateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateResponse, error)
UserUpdateWithBodyWithResponse request with arbitrary body returning *UserUpdateResponse
func (*ClientWithResponses) UserUpdateWithResponse ¶
func (c *ClientWithResponses) UserUpdateWithResponse(ctx context.Context, userID UserID, body UserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ConnectTokenListWithResponse request
ConnectTokenListWithResponse(ctx context.Context, params *ConnectTokenListParams, reqEditors ...RequestEditorFn) (*ConnectTokenListResponse, error)
// ConnectTokenCreateWithBodyWithResponse request with any body
ConnectTokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectTokenCreateResponse, error)
ConnectTokenCreateWithResponse(ctx context.Context, body ConnectTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectTokenCreateResponse, error)
// ConnectTokenDeleteWithResponse request
ConnectTokenDeleteWithResponse(ctx context.Context, connectTokenID ConnectTokenID, reqEditors ...RequestEditorFn) (*ConnectTokenDeleteResponse, error)
// ConnectTokenUpdateWithBodyWithResponse request with any body
ConnectTokenUpdateWithBodyWithResponse(ctx context.Context, connectTokenID ConnectTokenID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectTokenUpdateResponse, error)
ConnectTokenUpdateWithResponse(ctx context.Context, connectTokenID ConnectTokenID, body ConnectTokenUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectTokenUpdateResponse, error)
// IdentifierListWithResponse request
IdentifierListWithResponse(ctx context.Context, params *IdentifierListParams, reqEditors ...RequestEditorFn) (*IdentifierListResponse, error)
// LongSessionGetWithResponse request
LongSessionGetWithResponse(ctx context.Context, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*LongSessionGetResponse, error)
// PasskeyAppendFinishWithBodyWithResponse request with any body
PasskeyAppendFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyAppendFinishResponse, error)
PasskeyAppendFinishWithResponse(ctx context.Context, body PasskeyAppendFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyAppendFinishResponse, error)
// PasskeyAppendStartWithBodyWithResponse request with any body
PasskeyAppendStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyAppendStartResponse, error)
PasskeyAppendStartWithResponse(ctx context.Context, body PasskeyAppendStartJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyAppendStartResponse, error)
// PasskeyLoginFinishWithBodyWithResponse request with any body
PasskeyLoginFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyLoginFinishResponse, error)
PasskeyLoginFinishWithResponse(ctx context.Context, body PasskeyLoginFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyLoginFinishResponse, error)
// PasskeyLoginStartWithBodyWithResponse request with any body
PasskeyLoginStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyLoginStartResponse, error)
PasskeyLoginStartWithResponse(ctx context.Context, body PasskeyLoginStartJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyLoginStartResponse, error)
// PasskeyMediationFinishWithBodyWithResponse request with any body
PasskeyMediationFinishWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyMediationFinishResponse, error)
PasskeyMediationFinishWithResponse(ctx context.Context, body PasskeyMediationFinishJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyMediationFinishResponse, error)
// PasskeyMediationStartWithBodyWithResponse request with any body
PasskeyMediationStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyMediationStartResponse, error)
PasskeyMediationStartWithResponse(ctx context.Context, body PasskeyMediationStartJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyMediationStartResponse, error)
// ProjectConfigUpdateCNAMEWithBodyWithResponse request with any body
ProjectConfigUpdateCNAMEWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectConfigUpdateCNAMEResponse, error)
ProjectConfigUpdateCNAMEWithResponse(ctx context.Context, body ProjectConfigUpdateCNAMEJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectConfigUpdateCNAMEResponse, error)
// SocialAccountListWithResponse request
SocialAccountListWithResponse(ctx context.Context, params *SocialAccountListParams, reqEditors ...RequestEditorFn) (*SocialAccountListResponse, error)
// UserCreateWithBodyWithResponse request with any body
UserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)
UserCreateWithResponse(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)
// UserDeleteWithResponse request
UserDeleteWithResponse(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*UserDeleteResponse, error)
// UserGetWithResponse request
UserGetWithResponse(ctx context.Context, userID UserID, reqEditors ...RequestEditorFn) (*UserGetResponse, error)
// UserUpdateWithBodyWithResponse request with any body
UserUpdateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateResponse, error)
UserUpdateWithResponse(ctx context.Context, userID UserID, body UserUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateResponse, error)
// AuthEventCreateWithBodyWithResponse request with any body
AuthEventCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthEventCreateResponse, error)
AuthEventCreateWithResponse(ctx context.Context, userID UserID, body AuthEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthEventCreateResponse, error)
// ChallengeCreateWithBodyWithResponse request with any body
ChallengeCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChallengeCreateResponse, error)
ChallengeCreateWithResponse(ctx context.Context, userID UserID, body ChallengeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ChallengeCreateResponse, error)
// ChallengeUpdateWithBodyWithResponse request with any body
ChallengeUpdateWithBodyWithResponse(ctx context.Context, userID UserID, challengeID ChallengeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChallengeUpdateResponse, error)
ChallengeUpdateWithResponse(ctx context.Context, userID UserID, challengeID ChallengeID, body ChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ChallengeUpdateResponse, error)
// CredentialListWithResponse request
CredentialListWithResponse(ctx context.Context, userID UserID, params *CredentialListParams, reqEditors ...RequestEditorFn) (*CredentialListResponse, error)
// CredentialDeleteWithResponse request
CredentialDeleteWithResponse(ctx context.Context, userID UserID, credentialID CredentialID, reqEditors ...RequestEditorFn) (*CredentialDeleteResponse, error)
// IdentifierCreateWithBodyWithResponse request with any body
IdentifierCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IdentifierCreateResponse, error)
IdentifierCreateWithResponse(ctx context.Context, userID UserID, body IdentifierCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IdentifierCreateResponse, error)
// IdentifierDeleteWithResponse request
IdentifierDeleteWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, reqEditors ...RequestEditorFn) (*IdentifierDeleteResponse, error)
// IdentifierUpdateWithBodyWithResponse request with any body
IdentifierUpdateWithBodyWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IdentifierUpdateResponse, error)
IdentifierUpdateWithResponse(ctx context.Context, userID UserID, identifierID IdentifierID, body IdentifierUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*IdentifierUpdateResponse, error)
// LongSessionCreateWithBodyWithResponse request with any body
LongSessionCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LongSessionCreateResponse, error)
LongSessionCreateWithResponse(ctx context.Context, userID UserID, body LongSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*LongSessionCreateResponse, error)
// UserLongSessionGetWithResponse request
UserLongSessionGetWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, reqEditors ...RequestEditorFn) (*UserLongSessionGetResponse, error)
// LongSessionUpdateWithBodyWithResponse request with any body
LongSessionUpdateWithBodyWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LongSessionUpdateResponse, error)
LongSessionUpdateWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, body LongSessionUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*LongSessionUpdateResponse, error)
// ShortSessionCreateWithBodyWithResponse request with any body
ShortSessionCreateWithBodyWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ShortSessionCreateResponse, error)
ShortSessionCreateWithResponse(ctx context.Context, userID UserID, longSessionID LongSessionID, body ShortSessionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ShortSessionCreateResponse, error)
// PasskeyChallengeListWithResponse request
PasskeyChallengeListWithResponse(ctx context.Context, userID UserID, params *PasskeyChallengeListParams, reqEditors ...RequestEditorFn) (*PasskeyChallengeListResponse, error)
// PasskeyChallengeUpdateWithBodyWithResponse request with any body
PasskeyChallengeUpdateWithBodyWithResponse(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyChallengeUpdateResponse, error)
PasskeyChallengeUpdateWithResponse(ctx context.Context, userID UserID, passkeyChallengeID PasskeyChallengeID, body PasskeyChallengeUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyChallengeUpdateResponse, error)
// PasskeyEventListWithResponse request
PasskeyEventListWithResponse(ctx context.Context, userID UserID, params *PasskeyEventListParams, reqEditors ...RequestEditorFn) (*PasskeyEventListResponse, error)
// PasskeyEventCreateWithBodyWithResponse request with any body
PasskeyEventCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PasskeyEventCreateResponse, error)
PasskeyEventCreateWithResponse(ctx context.Context, userID UserID, body PasskeyEventCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PasskeyEventCreateResponse, error)
// PasskeyEventDeleteWithResponse request
PasskeyEventDeleteWithResponse(ctx context.Context, userID UserID, passkeyEventID PasskeyEventID, reqEditors ...RequestEditorFn) (*PasskeyEventDeleteResponse, error)
// UserSocialAccountListWithResponse request
UserSocialAccountListWithResponse(ctx context.Context, userID UserID, params *UserSocialAccountListParams, reqEditors ...RequestEditorFn) (*UserSocialAccountListResponse, error)
// SocialAccountCreateWithBodyWithResponse request with any body
SocialAccountCreateWithBodyWithResponse(ctx context.Context, userID UserID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SocialAccountCreateResponse, error)
SocialAccountCreateWithResponse(ctx context.Context, userID UserID, body SocialAccountCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SocialAccountCreateResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConnectToken ¶
type ConnectToken struct {
ConnectTokenStatus ConnectTokenStatus `json:"connectTokenStatus"`
Data ConnectTokenData `json:"data"`
Expires int `json:"expires"`
Id string `json:"id"`
Secret *string `json:"secret,omitempty"`
TokenType ConnectTokenType `json:"tokenType"`
}
ConnectToken defines model for connectToken.
type ConnectTokenCreateJSONRequestBody ¶
type ConnectTokenCreateJSONRequestBody = ConnectTokenCreateReq
ConnectTokenCreateJSONRequestBody defines body for ConnectTokenCreate for application/json ContentType.
type ConnectTokenCreateReq ¶
type ConnectTokenCreateReq struct {
Data ConnectTokenData `json:"data"`
MaxLifetimeInSeconds *int `json:"maxLifetimeInSeconds,omitempty"`
Type ConnectTokenType `json:"type"`
}
ConnectTokenCreateReq defines model for connectTokenCreateReq.
type ConnectTokenCreateResponse ¶
type ConnectTokenCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ConnectToken
JSONDefault *Error
}
func ParseConnectTokenCreateResponse ¶
func ParseConnectTokenCreateResponse(rsp *http.Response) (*ConnectTokenCreateResponse, error)
ParseConnectTokenCreateResponse parses an HTTP response from a ConnectTokenCreateWithResponse call
func (ConnectTokenCreateResponse) Status ¶
func (r ConnectTokenCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectTokenCreateResponse) StatusCode ¶
func (r ConnectTokenCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectTokenData ¶
type ConnectTokenData struct {
// contains filtered or unexported fields
}
ConnectTokenData defines model for connectTokenData.
func (ConnectTokenData) AsConnectTokenDataPasskeyAppend ¶
func (t ConnectTokenData) AsConnectTokenDataPasskeyAppend() (ConnectTokenDataPasskeyAppend, error)
AsConnectTokenDataPasskeyAppend returns the union data inside the ConnectTokenData as a ConnectTokenDataPasskeyAppend
func (ConnectTokenData) AsConnectTokenDataPasskeyDelete ¶
func (t ConnectTokenData) AsConnectTokenDataPasskeyDelete() (ConnectTokenDataPasskeyDelete, error)
AsConnectTokenDataPasskeyDelete returns the union data inside the ConnectTokenData as a ConnectTokenDataPasskeyDelete
func (ConnectTokenData) AsConnectTokenDataPasskeyList ¶
func (t ConnectTokenData) AsConnectTokenDataPasskeyList() (ConnectTokenDataPasskeyList, error)
AsConnectTokenDataPasskeyList returns the union data inside the ConnectTokenData as a ConnectTokenDataPasskeyList
func (*ConnectTokenData) FromConnectTokenDataPasskeyAppend ¶
func (t *ConnectTokenData) FromConnectTokenDataPasskeyAppend(v ConnectTokenDataPasskeyAppend) error
FromConnectTokenDataPasskeyAppend overwrites any union data inside the ConnectTokenData as the provided ConnectTokenDataPasskeyAppend
func (*ConnectTokenData) FromConnectTokenDataPasskeyDelete ¶
func (t *ConnectTokenData) FromConnectTokenDataPasskeyDelete(v ConnectTokenDataPasskeyDelete) error
FromConnectTokenDataPasskeyDelete overwrites any union data inside the ConnectTokenData as the provided ConnectTokenDataPasskeyDelete
func (*ConnectTokenData) FromConnectTokenDataPasskeyList ¶
func (t *ConnectTokenData) FromConnectTokenDataPasskeyList(v ConnectTokenDataPasskeyList) error
FromConnectTokenDataPasskeyList overwrites any union data inside the ConnectTokenData as the provided ConnectTokenDataPasskeyList
func (ConnectTokenData) MarshalJSON ¶
func (t ConnectTokenData) MarshalJSON() ([]byte, error)
func (*ConnectTokenData) MergeConnectTokenDataPasskeyAppend ¶
func (t *ConnectTokenData) MergeConnectTokenDataPasskeyAppend(v ConnectTokenDataPasskeyAppend) error
MergeConnectTokenDataPasskeyAppend performs a merge with any union data inside the ConnectTokenData, using the provided ConnectTokenDataPasskeyAppend
func (*ConnectTokenData) MergeConnectTokenDataPasskeyDelete ¶
func (t *ConnectTokenData) MergeConnectTokenDataPasskeyDelete(v ConnectTokenDataPasskeyDelete) error
MergeConnectTokenDataPasskeyDelete performs a merge with any union data inside the ConnectTokenData, using the provided ConnectTokenDataPasskeyDelete
func (*ConnectTokenData) MergeConnectTokenDataPasskeyList ¶
func (t *ConnectTokenData) MergeConnectTokenDataPasskeyList(v ConnectTokenDataPasskeyList) error
MergeConnectTokenDataPasskeyList performs a merge with any union data inside the ConnectTokenData, using the provided ConnectTokenDataPasskeyList
func (*ConnectTokenData) UnmarshalJSON ¶
func (t *ConnectTokenData) UnmarshalJSON(b []byte) error
type ConnectTokenDataPasskeyAppend ¶
type ConnectTokenDataPasskeyAppend struct {
DisplayName string `json:"displayName"`
Identifier string `json:"identifier"`
}
ConnectTokenDataPasskeyAppend defines model for connectTokenDataPasskeyAppend.
type ConnectTokenDataPasskeyDelete ¶
type ConnectTokenDataPasskeyDelete struct {
Identifier string `json:"identifier"`
}
ConnectTokenDataPasskeyDelete defines model for connectTokenDataPasskeyDelete.
type ConnectTokenDataPasskeyList ¶
type ConnectTokenDataPasskeyList struct {
Identifier string `json:"identifier"`
}
ConnectTokenDataPasskeyList defines model for connectTokenDataPasskeyList.
type ConnectTokenDeleteResponse ¶
type ConnectTokenDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParseConnectTokenDeleteResponse ¶
func ParseConnectTokenDeleteResponse(rsp *http.Response) (*ConnectTokenDeleteResponse, error)
ParseConnectTokenDeleteResponse parses an HTTP response from a ConnectTokenDeleteWithResponse call
func (ConnectTokenDeleteResponse) Status ¶
func (r ConnectTokenDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectTokenDeleteResponse) StatusCode ¶
func (r ConnectTokenDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectTokenList ¶
type ConnectTokenList struct {
ConnectTokens []ConnectToken `json:"connectTokens"`
Paging externalRef0.Paging `json:"paging"`
}
ConnectTokenList defines model for connectTokenList.
type ConnectTokenListParams ¶
type ConnectTokenListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
ConnectTokenListParams defines parameters for ConnectTokenList.
type ConnectTokenListResponse ¶
type ConnectTokenListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ConnectTokenList
JSONDefault *Error
}
func ParseConnectTokenListResponse ¶
func ParseConnectTokenListResponse(rsp *http.Response) (*ConnectTokenListResponse, error)
ParseConnectTokenListResponse parses an HTTP response from a ConnectTokenListWithResponse call
func (ConnectTokenListResponse) Status ¶
func (r ConnectTokenListResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectTokenListResponse) StatusCode ¶
func (r ConnectTokenListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectTokenStatus ¶
type ConnectTokenStatus string
ConnectTokenStatus defines model for connectTokenStatus.
const ( ConnectTokenStatusConsumed ConnectTokenStatus = "consumed" ConnectTokenStatusInitial ConnectTokenStatus = "initial" )
Defines values for ConnectTokenStatus.
type ConnectTokenType ¶
type ConnectTokenType string
ConnectTokenType defines model for connectTokenType.
const ( PasskeyAppend ConnectTokenType = "passkey-append" PasskeyDelete ConnectTokenType = "passkey-delete" PasskeyList ConnectTokenType = "passkey-list" )
Defines values for ConnectTokenType.
type ConnectTokenUpdateJSONRequestBody ¶
type ConnectTokenUpdateJSONRequestBody = ConnectTokenUpdateReq
ConnectTokenUpdateJSONRequestBody defines body for ConnectTokenUpdate for application/json ContentType.
type ConnectTokenUpdateReq ¶
type ConnectTokenUpdateReq struct {
Status ConnectTokenStatus `json:"status"`
}
ConnectTokenUpdateReq defines model for connectTokenUpdateReq.
type ConnectTokenUpdateResponse ¶
type ConnectTokenUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParseConnectTokenUpdateResponse ¶
func ParseConnectTokenUpdateResponse(rsp *http.Response) (*ConnectTokenUpdateResponse, error)
ParseConnectTokenUpdateResponse parses an HTTP response from a ConnectTokenUpdateWithResponse call
func (ConnectTokenUpdateResponse) Status ¶
func (r ConnectTokenUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectTokenUpdateResponse) StatusCode ¶
func (r ConnectTokenUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Credential ¶
type Credential struct {
AttestationType string `json:"attestationType"`
AuthenticatorAAGUID string `json:"authenticatorAAGUID"`
BackupEligible bool `json:"backupEligible"`
BackupState bool `json:"backupState"`
// Created Timestamp of when the entity was created in yyyy-MM-dd'T'HH:mm:ss format
Created externalRef0.Created `json:"created"`
CredentialID string `json:"credentialID"`
Id string `json:"id"`
// LastUsed Timestamp of when the passkey was last used in yyyy-MM-dd'T'HH:mm:ss format
LastUsed string `json:"lastUsed"`
SourceBrowser string `json:"sourceBrowser"`
SourceOS string `json:"sourceOS"`
// Status Status
Status CredentialStatus `json:"status"`
Transport []CredentialTransport `json:"transport"`
}
Credential defines model for credential.
type CredentialDeleteResponse ¶
type CredentialDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParseCredentialDeleteResponse ¶
func ParseCredentialDeleteResponse(rsp *http.Response) (*CredentialDeleteResponse, error)
ParseCredentialDeleteResponse parses an HTTP response from a CredentialDeleteWithResponse call
func (CredentialDeleteResponse) Status ¶
func (r CredentialDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialDeleteResponse) StatusCode ¶
func (r CredentialDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialList ¶
type CredentialList struct {
Credentials []Credential `json:"credentials"`
Paging externalRef0.Paging `json:"paging"`
}
CredentialList defines model for credentialList.
type CredentialListParams ¶
type CredentialListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
CredentialListParams defines parameters for CredentialList.
type CredentialListResponse ¶
type CredentialListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CredentialList
JSONDefault *Error
}
func ParseCredentialListResponse ¶
func ParseCredentialListResponse(rsp *http.Response) (*CredentialListResponse, error)
ParseCredentialListResponse parses an HTTP response from a CredentialListWithResponse call
func (CredentialListResponse) Status ¶
func (r CredentialListResponse) Status() string
Status returns HTTPResponse.Status
func (CredentialListResponse) StatusCode ¶
func (r CredentialListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CredentialStatus ¶
type CredentialStatus string
CredentialStatus Status
const ( CredentialStatusActive CredentialStatus = "active" CredentialStatusPending CredentialStatus = "pending" )
Defines values for CredentialStatus.
type CredentialTransport ¶
type CredentialTransport string
CredentialTransport defines model for Credential.Transport.
const ( Ble CredentialTransport = "ble" Hybrid CredentialTransport = "hybrid" Internal CredentialTransport = "internal" Nfc CredentialTransport = "nfc" SmartCard CredentialTransport = "smart-card" Usb CredentialTransport = "usb" )
Defines values for CredentialTransport.
type CrossDeviceAuthenticationStrategy ¶
type CrossDeviceAuthenticationStrategy string
CrossDeviceAuthenticationStrategy defines model for crossDeviceAuthenticationStrategy.
const ( Maximize CrossDeviceAuthenticationStrategy = "maximize" Minimize CrossDeviceAuthenticationStrategy = "minimize" Standard CrossDeviceAuthenticationStrategy = "standard" )
Defines values for CrossDeviceAuthenticationStrategy.
type DecisionTag ¶
type DecisionTag string
DecisionTag defines model for decisionTag.
const ( DecisionTagDefaultDeny DecisionTag = "default-deny" DecisionTagDeviceLocalPlatformPasskeyExperiment DecisionTag = "device-local-platform-passkey-experiment" DecisionTagEnvBlacklisted DecisionTag = "env-blacklisted" DecisionTagEnvNoPkSupport DecisionTag = "env-no-pk-support" DecisionTagPasskeyListInitiatedProcess DecisionTag = "passkey-list-initiated-process" DecisionTagProcessPkLoginCrossPlatformCompleted DecisionTag = "process-pk-login-cross-platform-completed" DecisionTagProcessPkLoginIncomplete DecisionTag = "process-pk-login-incomplete" DecisionTagProcessPkLoginNotOffered DecisionTag = "process-pk-login-not-offered" DecisionTagProcessPkLoginPlatformCompleted DecisionTag = "process-pk-login-platform-completed" DecisionTagProcessPkLoginSkCompleted DecisionTag = "process-pk-login-sk-completed" DecisionTagUserAppendBlacklisted DecisionTag = "user-append-blacklisted" DecisionTagUserCrossPlatformPkHighConfidence DecisionTag = "user-cross-platform-pk-high-confidence" DecisionTagUserEnvNoPks DecisionTag = "user-env-no-pks" DecisionTagUserLoginBlacklisted DecisionTag = "user-login-blacklisted" DecisionTagUserNegativeEnvHistory DecisionTag = "user-negative-env-history" DecisionTagUserNoPks DecisionTag = "user-no-pks" DecisionTagUserPlatformPkHighConfidence DecisionTag = "user-platform-pk-high-confidence" DecisionTagUserPositiveEnvHistory DecisionTag = "user-positive-env-history" DecisionTagUserSecurityKey DecisionTag = "user-security-key" )
Defines values for DecisionTag.
type DetectionTag ¶
type DetectionTag struct {
Category DetectionTagCategory `json:"category"`
Name string `json:"name"`
}
DetectionTag defines model for detectionTag.
type DetectionTagCategory ¶
type DetectionTagCategory string
DetectionTagCategory defines model for DetectionTag.Category.
const ( ClientEnv DetectionTagCategory = "clientEnv" History DetectionTagCategory = "history" Passkey DetectionTagCategory = "passkey" Support DetectionTagCategory = "support" )
Defines values for DetectionTagCategory.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type Identifier ¶
type Identifier struct {
IdentifierID string `json:"identifierID"`
Status IdentifierStatus `json:"status"`
Type IdentifierType `json:"type"`
UserID string `json:"userID"`
Value string `json:"value"`
}
Identifier defines model for identifier.
type IdentifierCreateJSONRequestBody ¶
type IdentifierCreateJSONRequestBody = IdentifierCreateReq
IdentifierCreateJSONRequestBody defines body for IdentifierCreate for application/json ContentType.
type IdentifierCreateReq ¶
type IdentifierCreateReq struct {
IdentifierType IdentifierType `json:"identifierType"`
IdentifierValue string `json:"identifierValue"`
Status IdentifierStatus `json:"status"`
}
IdentifierCreateReq defines model for identifierCreateReq.
type IdentifierCreateResponse ¶
type IdentifierCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Identifier
JSONDefault *Error
}
func ParseIdentifierCreateResponse ¶
func ParseIdentifierCreateResponse(rsp *http.Response) (*IdentifierCreateResponse, error)
ParseIdentifierCreateResponse parses an HTTP response from a IdentifierCreateWithResponse call
func (IdentifierCreateResponse) Status ¶
func (r IdentifierCreateResponse) Status() string
Status returns HTTPResponse.Status
func (IdentifierCreateResponse) StatusCode ¶
func (r IdentifierCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IdentifierDeleteResponse ¶
type IdentifierDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParseIdentifierDeleteResponse ¶
func ParseIdentifierDeleteResponse(rsp *http.Response) (*IdentifierDeleteResponse, error)
ParseIdentifierDeleteResponse parses an HTTP response from a IdentifierDeleteWithResponse call
func (IdentifierDeleteResponse) Status ¶
func (r IdentifierDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (IdentifierDeleteResponse) StatusCode ¶
func (r IdentifierDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IdentifierList ¶
type IdentifierList struct {
Identifiers []Identifier `json:"identifiers"`
Paging externalRef0.Paging `json:"paging"`
}
IdentifierList defines model for identifierList.
type IdentifierListParams ¶
type IdentifierListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
IdentifierListParams defines parameters for IdentifierList.
type IdentifierListResponse ¶
type IdentifierListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *IdentifierList
JSONDefault *Error
}
func ParseIdentifierListResponse ¶
func ParseIdentifierListResponse(rsp *http.Response) (*IdentifierListResponse, error)
ParseIdentifierListResponse parses an HTTP response from a IdentifierListWithResponse call
func (IdentifierListResponse) Status ¶
func (r IdentifierListResponse) Status() string
Status returns HTTPResponse.Status
func (IdentifierListResponse) StatusCode ¶
func (r IdentifierListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IdentifierStatus ¶
type IdentifierStatus string
IdentifierStatus defines model for identifierStatus.
const ( IdentifierStatusPending IdentifierStatus = "pending" IdentifierStatusPrimary IdentifierStatus = "primary" IdentifierStatusVerified IdentifierStatus = "verified" )
Defines values for IdentifierStatus.
type IdentifierType ¶
type IdentifierType string
IdentifierType defines model for identifierType.
const ( Email IdentifierType = "email" Phone IdentifierType = "phone" Username IdentifierType = "username" )
Defines values for IdentifierType.
type IdentifierUpdateJSONRequestBody ¶
type IdentifierUpdateJSONRequestBody = IdentifierUpdateReq
IdentifierUpdateJSONRequestBody defines body for IdentifierUpdate for application/json ContentType.
type IdentifierUpdateReq ¶
type IdentifierUpdateReq struct {
Status IdentifierStatus `json:"status"`
}
IdentifierUpdateReq defines model for identifierUpdateReq.
type IdentifierUpdateResponse ¶
type IdentifierUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Identifier
JSONDefault *Error
}
func ParseIdentifierUpdateResponse ¶
func ParseIdentifierUpdateResponse(rsp *http.Response) (*IdentifierUpdateResponse, error)
ParseIdentifierUpdateResponse parses an HTTP response from a IdentifierUpdateWithResponse call
func (IdentifierUpdateResponse) Status ¶
func (r IdentifierUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (IdentifierUpdateResponse) StatusCode ¶
func (r IdentifierUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type JavaScriptHighEntropy ¶
type JavaScriptHighEntropy struct {
Mobile bool `json:"mobile"`
Platform string `json:"platform"`
PlatformVersion string `json:"platformVersion"`
}
JavaScriptHighEntropy defines model for javaScriptHighEntropy.
type LongSession ¶
type LongSession struct {
Expires string `json:"expires"`
IdentifierValue string `json:"identifierValue"`
LongSessionID string `json:"longSessionID"`
Status LongSessionStatus `json:"status"`
UserID string `json:"userID"`
}
LongSession defines model for longSession.
type LongSessionCreateJSONRequestBody ¶
type LongSessionCreateJSONRequestBody = LongSessionCreateReq
LongSessionCreateJSONRequestBody defines body for LongSessionCreate for application/json ContentType.
type LongSessionCreateReq ¶
type LongSessionCreateReq struct {
// AppType Application type
AppType externalRef0.AppType `json:"appType"`
IdentifierValue string `json:"identifierValue"`
}
LongSessionCreateReq defines model for longSessionCreateReq.
type LongSessionCreateResponse ¶
type LongSessionCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LongSession
JSONDefault *Error
}
func ParseLongSessionCreateResponse ¶
func ParseLongSessionCreateResponse(rsp *http.Response) (*LongSessionCreateResponse, error)
ParseLongSessionCreateResponse parses an HTTP response from a LongSessionCreateWithResponse call
func (LongSessionCreateResponse) Status ¶
func (r LongSessionCreateResponse) Status() string
Status returns HTTPResponse.Status
func (LongSessionCreateResponse) StatusCode ¶
func (r LongSessionCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LongSessionGetResponse ¶
type LongSessionGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LongSession
JSONDefault *Error
}
func ParseLongSessionGetResponse ¶
func ParseLongSessionGetResponse(rsp *http.Response) (*LongSessionGetResponse, error)
ParseLongSessionGetResponse parses an HTTP response from a LongSessionGetWithResponse call
func (LongSessionGetResponse) Status ¶
func (r LongSessionGetResponse) Status() string
Status returns HTTPResponse.Status
func (LongSessionGetResponse) StatusCode ¶
func (r LongSessionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LongSessionStatus ¶
type LongSessionStatus string
LongSessionStatus defines model for longSessionStatus.
const ( Active LongSessionStatus = "active" Expired LongSessionStatus = "expired" InactivityReached LongSessionStatus = "inactivity_reached" LoggedOut LongSessionStatus = "logged_out" Revoked LongSessionStatus = "revoked" )
Defines values for LongSessionStatus.
type LongSessionUpdateJSONRequestBody ¶
type LongSessionUpdateJSONRequestBody = LongSessionUpdateReq
LongSessionUpdateJSONRequestBody defines body for LongSessionUpdate for application/json ContentType.
type LongSessionUpdateReq ¶
type LongSessionUpdateReq struct {
Status LongSessionStatus `json:"status"`
}
LongSessionUpdateReq defines model for longSessionUpdateReq.
type LongSessionUpdateResponse ¶
type LongSessionUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LongSession
JSONDefault *Error
}
func ParseLongSessionUpdateResponse ¶
func ParseLongSessionUpdateResponse(rsp *http.Response) (*LongSessionUpdateResponse, error)
ParseLongSessionUpdateResponse parses an HTTP response from a LongSessionUpdateWithResponse call
func (LongSessionUpdateResponse) Status ¶
func (r LongSessionUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (LongSessionUpdateResponse) StatusCode ¶
func (r LongSessionUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyAppendFinishJSONRequestBody ¶
type PasskeyAppendFinishJSONRequestBody = PasskeyAppendFinishReq
PasskeyAppendFinishJSONRequestBody defines body for PasskeyAppendFinish for application/json ContentType.
type PasskeyAppendFinishReq ¶
type PasskeyAppendFinishReq struct {
AttestationResponse string `json:"attestationResponse"`
ClientInformation ClientInformation `json:"clientInformation"`
ProcessID string `json:"processID"`
SendNotification *bool `json:"sendNotification,omitempty"`
// UserID ID of the user
UserID externalRef0.UserID `json:"userID"`
}
PasskeyAppendFinishReq defines model for passkeyAppendFinishReq.
type PasskeyAppendFinishResponse ¶
type PasskeyAppendFinishResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyAppendFinishRsp
JSONDefault *Error
}
func ParsePasskeyAppendFinishResponse ¶
func ParsePasskeyAppendFinishResponse(rsp *http.Response) (*PasskeyAppendFinishResponse, error)
ParsePasskeyAppendFinishResponse parses an HTTP response from a PasskeyAppendFinishWithResponse call
func (PasskeyAppendFinishResponse) Status ¶
func (r PasskeyAppendFinishResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyAppendFinishResponse) StatusCode ¶
func (r PasskeyAppendFinishResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyAppendFinishRsp ¶
type PasskeyAppendFinishRsp struct {
PasskeyData PasskeyData `json:"passkeyData"`
}
PasskeyAppendFinishRsp defines model for passkeyAppendFinishRsp.
type PasskeyAppendStartJSONRequestBody ¶
type PasskeyAppendStartJSONRequestBody = PasskeyAppendStartReq
PasskeyAppendStartJSONRequestBody defines body for PasskeyAppendStart for application/json ContentType.
type PasskeyAppendStartReq ¶
type PasskeyAppendStartReq struct {
ClientInformation ClientInformation `json:"clientInformation"`
PasskeyIntelFlags PasskeyIntelFlags `json:"passkeyIntelFlags"`
ProcessID string `json:"processID"`
// UserID ID of the user
UserID externalRef0.UserID `json:"userID"`
Username string `json:"username"`
}
PasskeyAppendStartReq defines model for passkeyAppendStartReq.
type PasskeyAppendStartResponse ¶
type PasskeyAppendStartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyAppendStartRsp
JSONDefault *Error
}
func ParsePasskeyAppendStartResponse ¶
func ParsePasskeyAppendStartResponse(rsp *http.Response) (*PasskeyAppendStartResponse, error)
ParsePasskeyAppendStartResponse parses an HTTP response from a PasskeyAppendStartWithResponse call
func (PasskeyAppendStartResponse) Status ¶
func (r PasskeyAppendStartResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyAppendStartResponse) StatusCode ¶
func (r PasskeyAppendStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyAppendStartRsp ¶
type PasskeyAppendStartRsp struct {
AppendAllow bool `json:"appendAllow"`
AttestationOptions string `json:"attestationOptions"`
CredentialCount int `json:"credentialCount"`
DecisionTag DecisionTag `json:"decisionTag"`
DetectionTags []DetectionTag `json:"detectionTags"`
}
PasskeyAppendStartRsp defines model for passkeyAppendStartRsp.
type PasskeyChallenge ¶
type PasskeyChallenge struct {
ChallengeID string `json:"challengeID"`
Created int64 `json:"created"`
Expires int64 `json:"expires"`
Status PasskeyChallengeStatus `json:"status"`
Type PasskeyChallengeType `json:"type"`
Value string `json:"value"`
}
PasskeyChallenge defines model for passkeyChallenge.
type PasskeyChallengeID ¶
type PasskeyChallengeID = string
PasskeyChallengeID defines model for passkeyChallengeID.
type PasskeyChallengeList ¶
type PasskeyChallengeList struct {
Paging externalRef0.Paging `json:"paging"`
PasskeyChallenges []PasskeyChallenge `json:"passkeyChallenges"`
}
PasskeyChallengeList defines model for passkeyChallengeList.
type PasskeyChallengeListParams ¶
type PasskeyChallengeListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
PasskeyChallengeListParams defines parameters for PasskeyChallengeList.
type PasskeyChallengeListResponse ¶
type PasskeyChallengeListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyChallengeList
JSONDefault *Error
}
func ParsePasskeyChallengeListResponse ¶
func ParsePasskeyChallengeListResponse(rsp *http.Response) (*PasskeyChallengeListResponse, error)
ParsePasskeyChallengeListResponse parses an HTTP response from a PasskeyChallengeListWithResponse call
func (PasskeyChallengeListResponse) Status ¶
func (r PasskeyChallengeListResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyChallengeListResponse) StatusCode ¶
func (r PasskeyChallengeListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyChallengeStatus ¶
type PasskeyChallengeStatus string
PasskeyChallengeStatus defines model for passkeyChallengeStatus.
const ( PasskeyChallengeStatusCompleted PasskeyChallengeStatus = "completed" PasskeyChallengeStatusConsumed PasskeyChallengeStatus = "consumed" PasskeyChallengeStatusPending PasskeyChallengeStatus = "pending" )
Defines values for PasskeyChallengeStatus.
type PasskeyChallengeType ¶
type PasskeyChallengeType string
PasskeyChallengeType defines model for passkeyChallengeType.
const ( Authenticate PasskeyChallengeType = "authenticate" Register PasskeyChallengeType = "register" )
Defines values for PasskeyChallengeType.
type PasskeyChallengeUpdateJSONRequestBody ¶
type PasskeyChallengeUpdateJSONRequestBody = PasskeyChallengeUpdateReq
PasskeyChallengeUpdateJSONRequestBody defines body for PasskeyChallengeUpdate for application/json ContentType.
type PasskeyChallengeUpdateReq ¶
type PasskeyChallengeUpdateReq struct {
Status PasskeyChallengeStatus `json:"status"`
}
PasskeyChallengeUpdateReq defines model for passkeyChallengeUpdateReq.
type PasskeyChallengeUpdateResponse ¶
type PasskeyChallengeUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyChallenge
JSONDefault *Error
}
func ParsePasskeyChallengeUpdateResponse ¶
func ParsePasskeyChallengeUpdateResponse(rsp *http.Response) (*PasskeyChallengeUpdateResponse, error)
ParsePasskeyChallengeUpdateResponse parses an HTTP response from a PasskeyChallengeUpdateWithResponse call
func (PasskeyChallengeUpdateResponse) Status ¶
func (r PasskeyChallengeUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyChallengeUpdateResponse) StatusCode ¶
func (r PasskeyChallengeUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyData ¶
type PasskeyData struct {
CeremonyType PasskeyDataCeremonyType `json:"ceremonyType"`
ChallengeID string `json:"challengeID"`
Id string `json:"id"`
UserID string `json:"userID"`
Username string `json:"username"`
}
PasskeyData defines model for passkeyData.
type PasskeyDataCeremonyType ¶
type PasskeyDataCeremonyType string
PasskeyDataCeremonyType defines model for PasskeyData.CeremonyType.
const ( Cda PasskeyDataCeremonyType = "cda" Local PasskeyDataCeremonyType = "local" SecurityKey PasskeyDataCeremonyType = "security-key" )
Defines values for PasskeyDataCeremonyType.
type PasskeyEvent ¶
type PasskeyEvent struct {
ClientEnvID *string `json:"clientEnvID,omitempty"`
// Created Timestamp of when the entity was created in yyyy-MM-dd'T'HH:mm:ss format
Created externalRef0.Created `json:"created"`
CredentialID *string `json:"credentialID,omitempty"`
EventType PasskeyEventType `json:"eventType"`
Expires *int `json:"expires,omitempty"`
PasskeyEventID string `json:"passkeyEventID"`
ProcessID *string `json:"processID,omitempty"`
// UserID ID of the user
UserID externalRef0.UserID `json:"userID"`
}
PasskeyEvent defines model for passkeyEvent.
type PasskeyEventCreateJSONRequestBody ¶
type PasskeyEventCreateJSONRequestBody = PasskeyEventCreateReq
PasskeyEventCreateJSONRequestBody defines body for PasskeyEventCreate for application/json ContentType.
type PasskeyEventCreateReq ¶
type PasskeyEventCreateReq struct {
ClientEnvID *string `json:"clientEnvID,omitempty"`
CredentialID *string `json:"credentialID,omitempty"`
EventType PasskeyEventType `json:"eventType"`
Expires *int `json:"expires,omitempty"`
ProcessID *string `json:"processID,omitempty"`
}
PasskeyEventCreateReq defines model for passkeyEventCreateReq.
type PasskeyEventCreateResponse ¶
type PasskeyEventCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyEvent
JSONDefault *Error
}
func ParsePasskeyEventCreateResponse ¶
func ParsePasskeyEventCreateResponse(rsp *http.Response) (*PasskeyEventCreateResponse, error)
ParsePasskeyEventCreateResponse parses an HTTP response from a PasskeyEventCreateWithResponse call
func (PasskeyEventCreateResponse) Status ¶
func (r PasskeyEventCreateResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyEventCreateResponse) StatusCode ¶
func (r PasskeyEventCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyEventDeleteResponse ¶
type PasskeyEventDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParsePasskeyEventDeleteResponse ¶
func ParsePasskeyEventDeleteResponse(rsp *http.Response) (*PasskeyEventDeleteResponse, error)
ParsePasskeyEventDeleteResponse parses an HTTP response from a PasskeyEventDeleteWithResponse call
func (PasskeyEventDeleteResponse) Status ¶
func (r PasskeyEventDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyEventDeleteResponse) StatusCode ¶
func (r PasskeyEventDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyEventList ¶
type PasskeyEventList struct {
Paging externalRef0.Paging `json:"paging"`
PasskeyEvents []PasskeyEvent `json:"passkeyEvents"`
}
PasskeyEventList defines model for passkeyEventList.
type PasskeyEventListParams ¶
type PasskeyEventListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
PasskeyEventListParams defines parameters for PasskeyEventList.
type PasskeyEventListResponse ¶
type PasskeyEventListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyEventList
JSONDefault *Error
}
func ParsePasskeyEventListResponse ¶
func ParsePasskeyEventListResponse(rsp *http.Response) (*PasskeyEventListResponse, error)
ParsePasskeyEventListResponse parses an HTTP response from a PasskeyEventListWithResponse call
func (PasskeyEventListResponse) Status ¶
func (r PasskeyEventListResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyEventListResponse) StatusCode ¶
func (r PasskeyEventListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyEventType ¶
type PasskeyEventType string
PasskeyEventType defines model for passkeyEventType.
const ( PasskeyEventTypeAppendCredentialExists PasskeyEventType = "append-credential-exists" PasskeyEventTypeAppendError PasskeyEventType = "append-error" PasskeyEventTypeAppendExplicitAbort PasskeyEventType = "append-explicit-abort" PasskeyEventTypeLoginError PasskeyEventType = "login-error" PasskeyEventTypeLoginExplicitAbort PasskeyEventType = "login-explicit-abort" PasskeyEventTypeLoginOneTapSwitch PasskeyEventType = "login-one-tap-switch" PasskeyEventTypeUserAppendAfterCrossPlatformBlacklisted PasskeyEventType = "user-append-after-cross-platform-blacklisted" PasskeyEventTypeUserAppendAfterLoginErrorBlacklisted PasskeyEventType = "user-append-after-login-error-blacklisted" PasskeyEventTypeUserLoginBlacklisted PasskeyEventType = "user-login-blacklisted" )
Defines values for PasskeyEventType.
type PasskeyIntelFlags ¶
type PasskeyIntelFlags struct {
ForcePasskeyAppend bool `json:"forcePasskeyAppend"`
}
PasskeyIntelFlags defines model for passkeyIntelFlags.
type PasskeyLoginFinishJSONRequestBody ¶
type PasskeyLoginFinishJSONRequestBody = PasskeyLoginFinishReq
PasskeyLoginFinishJSONRequestBody defines body for PasskeyLoginFinish for application/json ContentType.
type PasskeyLoginFinishReq ¶
type PasskeyLoginFinishReq struct {
AssertionResponse string `json:"assertionResponse"`
ClientInformation ClientInformation `json:"clientInformation"`
ProcessID string `json:"processID"`
// UserID ID of the user
UserID externalRef0.UserID `json:"userID"`
}
PasskeyLoginFinishReq defines model for passkeyLoginFinishReq.
type PasskeyLoginFinishResponse ¶
type PasskeyLoginFinishResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyLoginFinishRsp
JSONDefault *Error
}
func ParsePasskeyLoginFinishResponse ¶
func ParsePasskeyLoginFinishResponse(rsp *http.Response) (*PasskeyLoginFinishResponse, error)
ParsePasskeyLoginFinishResponse parses an HTTP response from a PasskeyLoginFinishWithResponse call
func (PasskeyLoginFinishResponse) Status ¶
func (r PasskeyLoginFinishResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyLoginFinishResponse) StatusCode ¶
func (r PasskeyLoginFinishResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyLoginFinishRsp ¶
type PasskeyLoginFinishRsp struct {
PasskeyData PasskeyData `json:"passkeyData"`
}
PasskeyLoginFinishRsp defines model for passkeyLoginFinishRsp.
type PasskeyLoginStartJSONRequestBody ¶
type PasskeyLoginStartJSONRequestBody = PasskeyLoginStartReq
PasskeyLoginStartJSONRequestBody defines body for PasskeyLoginStart for application/json ContentType.
type PasskeyLoginStartReq ¶
type PasskeyLoginStartReq struct {
ClientInformation ClientInformation `json:"clientInformation"`
CrossDeviceAuthenticationStrategy CrossDeviceAuthenticationStrategy `json:"crossDeviceAuthenticationStrategy"`
ProcessID string `json:"processID"`
// UserID ID of the user
UserID externalRef0.UserID `json:"userID"`
}
PasskeyLoginStartReq defines model for passkeyLoginStartReq.
type PasskeyLoginStartResponse ¶
type PasskeyLoginStartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyLoginStartRsp
JSONDefault *Error
}
func ParsePasskeyLoginStartResponse ¶
func ParsePasskeyLoginStartResponse(rsp *http.Response) (*PasskeyLoginStartResponse, error)
ParsePasskeyLoginStartResponse parses an HTTP response from a PasskeyLoginStartWithResponse call
func (PasskeyLoginStartResponse) Status ¶
func (r PasskeyLoginStartResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyLoginStartResponse) StatusCode ¶
func (r PasskeyLoginStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyLoginStartRsp ¶
type PasskeyLoginStartRsp struct {
AssertionOptions string `json:"assertionOptions"`
CredentialCount int `json:"credentialCount"`
DecisionTag DecisionTag `json:"decisionTag"`
DetectionTags []DetectionTag `json:"detectionTags"`
IsCDACandidate bool `json:"isCDACandidate"`
LoginAllow bool `json:"loginAllow"`
}
PasskeyLoginStartRsp defines model for passkeyLoginStartRsp.
type PasskeyMediationFinishJSONRequestBody ¶
type PasskeyMediationFinishJSONRequestBody = PasskeyMediationFinishReq
PasskeyMediationFinishJSONRequestBody defines body for PasskeyMediationFinish for application/json ContentType.
type PasskeyMediationFinishReq ¶
type PasskeyMediationFinishReq struct {
AssertionResponse string `json:"assertionResponse"`
ClientInformation ClientInformation `json:"clientInformation"`
ProcessID string `json:"processID"`
}
PasskeyMediationFinishReq defines model for passkeyMediationFinishReq.
type PasskeyMediationFinishResponse ¶
type PasskeyMediationFinishResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyMediationFinishRsp
JSONDefault *Error
}
func ParsePasskeyMediationFinishResponse ¶
func ParsePasskeyMediationFinishResponse(rsp *http.Response) (*PasskeyMediationFinishResponse, error)
ParsePasskeyMediationFinishResponse parses an HTTP response from a PasskeyMediationFinishWithResponse call
func (PasskeyMediationFinishResponse) Status ¶
func (r PasskeyMediationFinishResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyMediationFinishResponse) StatusCode ¶
func (r PasskeyMediationFinishResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyMediationFinishRsp ¶
type PasskeyMediationFinishRsp struct {
PasskeyData PasskeyData `json:"passkeyData"`
}
PasskeyMediationFinishRsp defines model for passkeyMediationFinishRsp.
type PasskeyMediationStartJSONRequestBody ¶
type PasskeyMediationStartJSONRequestBody = PasskeyMediationStartReq
PasskeyMediationStartJSONRequestBody defines body for PasskeyMediationStart for application/json ContentType.
type PasskeyMediationStartReq ¶
type PasskeyMediationStartReq struct {
ClientInformation ClientInformation `json:"clientInformation"`
}
PasskeyMediationStartReq defines model for passkeyMediationStartReq.
type PasskeyMediationStartResponse ¶
type PasskeyMediationStartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PasskeyMediationStartRsp
JSONDefault *Error
}
func ParsePasskeyMediationStartResponse ¶
func ParsePasskeyMediationStartResponse(rsp *http.Response) (*PasskeyMediationStartResponse, error)
ParsePasskeyMediationStartResponse parses an HTTP response from a PasskeyMediationStartWithResponse call
func (PasskeyMediationStartResponse) Status ¶
func (r PasskeyMediationStartResponse) Status() string
Status returns HTTPResponse.Status
func (PasskeyMediationStartResponse) StatusCode ¶
func (r PasskeyMediationStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasskeyMediationStartRsp ¶
type PasskeyMediationStartRsp struct {
AssertionOptions string `json:"assertionOptions"`
LoginAllow bool `json:"loginAllow"`
}
PasskeyMediationStartRsp defines model for passkeyMediationStartRsp.
type ProjectConfigUpdateCNAMEJSONRequestBody ¶
type ProjectConfigUpdateCNAMEJSONRequestBody = ProjectConfigUpdateCnameReq
ProjectConfigUpdateCNAMEJSONRequestBody defines body for ProjectConfigUpdateCNAME for application/json ContentType.
type ProjectConfigUpdateCNAMEResponse ¶
type ProjectConfigUpdateCNAMEResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParseProjectConfigUpdateCNAMEResponse ¶
func ParseProjectConfigUpdateCNAMEResponse(rsp *http.Response) (*ProjectConfigUpdateCNAMEResponse, error)
ParseProjectConfigUpdateCNAMEResponse parses an HTTP response from a ProjectConfigUpdateCNAMEWithResponse call
func (ProjectConfigUpdateCNAMEResponse) Status ¶
func (r ProjectConfigUpdateCNAMEResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectConfigUpdateCNAMEResponse) StatusCode ¶
func (r ProjectConfigUpdateCNAMEResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectConfigUpdateCnameReq ¶
type ProjectConfigUpdateCnameReq struct {
Cname string `json:"cname"`
}
ProjectConfigUpdateCnameReq defines model for projectConfigUpdateCnameReq.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ShortSession ¶
type ShortSession struct {
Value string `json:"value"`
}
ShortSession defines model for shortSession.
type ShortSessionCreateJSONRequestBody ¶
type ShortSessionCreateJSONRequestBody = ShortSessionCreateReq
ShortSessionCreateJSONRequestBody defines body for ShortSessionCreate for application/json ContentType.
type ShortSessionCreateReq ¶
type ShortSessionCreateReq struct {
// AppType Application type
AppType externalRef0.AppType `json:"appType"`
Issuer string `json:"issuer"`
}
ShortSessionCreateReq defines model for shortSessionCreateReq.
type ShortSessionCreateResponse ¶
type ShortSessionCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ShortSession
JSONDefault *Error
}
func ParseShortSessionCreateResponse ¶
func ParseShortSessionCreateResponse(rsp *http.Response) (*ShortSessionCreateResponse, error)
ParseShortSessionCreateResponse parses an HTTP response from a ShortSessionCreateWithResponse call
func (ShortSessionCreateResponse) Status ¶
func (r ShortSessionCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ShortSessionCreateResponse) StatusCode ¶
func (r ShortSessionCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SocialAccount ¶
type SocialAccount struct {
AvatarURL string `json:"avatarURL"`
ForeignID string `json:"foreignID"`
FullName string `json:"fullName"`
IdentifierValue string `json:"identifierValue"`
ProviderType string `json:"providerType"`
SocialAccountID string `json:"socialAccountID"`
UserID string `json:"userID"`
}
SocialAccount defines model for socialAccount.
type SocialAccountCreateJSONRequestBody ¶
type SocialAccountCreateJSONRequestBody = SocialAccountCreateReq
SocialAccountCreateJSONRequestBody defines body for SocialAccountCreate for application/json ContentType.
type SocialAccountCreateReq ¶
type SocialAccountCreateReq struct {
AvatarURL string `json:"avatarURL"`
ForeignID string `json:"foreignID"`
FullName string `json:"fullName"`
IdentifierValue string `json:"identifierValue"`
ProviderType externalRef0.SocialProviderType `json:"providerType"`
}
SocialAccountCreateReq defines model for socialAccountCreateReq.
type SocialAccountCreateResponse ¶
type SocialAccountCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SocialAccount
JSONDefault *Error
}
func ParseSocialAccountCreateResponse ¶
func ParseSocialAccountCreateResponse(rsp *http.Response) (*SocialAccountCreateResponse, error)
ParseSocialAccountCreateResponse parses an HTTP response from a SocialAccountCreateWithResponse call
func (SocialAccountCreateResponse) Status ¶
func (r SocialAccountCreateResponse) Status() string
Status returns HTTPResponse.Status
func (SocialAccountCreateResponse) StatusCode ¶
func (r SocialAccountCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SocialAccountList ¶
type SocialAccountList struct {
Paging externalRef0.Paging `json:"paging"`
SocialAccounts []SocialAccount `json:"socialAccounts"`
}
SocialAccountList defines model for socialAccountList.
type SocialAccountListParams ¶
type SocialAccountListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
SocialAccountListParams defines parameters for SocialAccountList.
type SocialAccountListResponse ¶
type SocialAccountListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SocialAccountList
JSONDefault *Error
}
func ParseSocialAccountListResponse ¶
func ParseSocialAccountListResponse(rsp *http.Response) (*SocialAccountListResponse, error)
ParseSocialAccountListResponse parses an HTTP response from a SocialAccountListWithResponse call
func (SocialAccountListResponse) Status ¶
func (r SocialAccountListResponse) Status() string
Status returns HTTPResponse.Status
func (SocialAccountListResponse) StatusCode ¶
func (r SocialAccountListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type User ¶
type User struct {
ExplicitWebauthnID *string `json:"explicitWebauthnID,omitempty"`
FullName *string `json:"fullName,omitempty"`
Status UserStatus `json:"status"`
UserID string `json:"userID"`
}
User defines model for user.
type UserCreateJSONRequestBody ¶
type UserCreateJSONRequestBody = UserCreateReq
UserCreateJSONRequestBody defines body for UserCreate for application/json ContentType.
type UserCreateReq ¶
type UserCreateReq struct {
// ExplicitWebauthnID For connect projects, the webauthnID can be explicitly set for a user
ExplicitWebauthnID *string `json:"explicitWebauthnID,omitempty"`
FullName *string `json:"fullName,omitempty"`
Status UserStatus `json:"status"`
}
UserCreateReq defines model for userCreateReq.
type UserCreateResponse ¶
type UserCreateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *User
JSONDefault *Error
}
func ParseUserCreateResponse ¶
func ParseUserCreateResponse(rsp *http.Response) (*UserCreateResponse, error)
ParseUserCreateResponse parses an HTTP response from a UserCreateWithResponse call
func (UserCreateResponse) Status ¶
func (r UserCreateResponse) Status() string
Status returns HTTPResponse.Status
func (UserCreateResponse) StatusCode ¶
func (r UserCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserDeleteResponse ¶
type UserDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *N200
JSONDefault *Error
}
func ParseUserDeleteResponse ¶
func ParseUserDeleteResponse(rsp *http.Response) (*UserDeleteResponse, error)
ParseUserDeleteResponse parses an HTTP response from a UserDeleteWithResponse call
func (UserDeleteResponse) Status ¶
func (r UserDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (UserDeleteResponse) StatusCode ¶
func (r UserDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserGetResponse ¶
type UserGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *User
JSONDefault *Error
}
func ParseUserGetResponse ¶
func ParseUserGetResponse(rsp *http.Response) (*UserGetResponse, error)
ParseUserGetResponse parses an HTTP response from a UserGetWithResponse call
func (UserGetResponse) Status ¶
func (r UserGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserGetResponse) StatusCode ¶
func (r UserGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserLongSessionGetResponse ¶
type UserLongSessionGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *LongSession
JSONDefault *Error
}
func ParseUserLongSessionGetResponse ¶
func ParseUserLongSessionGetResponse(rsp *http.Response) (*UserLongSessionGetResponse, error)
ParseUserLongSessionGetResponse parses an HTTP response from a UserLongSessionGetWithResponse call
func (UserLongSessionGetResponse) Status ¶
func (r UserLongSessionGetResponse) Status() string
Status returns HTTPResponse.Status
func (UserLongSessionGetResponse) StatusCode ¶
func (r UserLongSessionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserSocialAccountListParams ¶
type UserSocialAccountListParams struct {
// Sort Field sorting
Sort *externalRef0.Sort `form:"sort,omitempty" json:"sort,omitempty"`
// Filter Field filtering
Filter *externalRef0.Filter `form:"filter[],omitempty" json:"filter[],omitempty"`
// Page Page number
Page *externalRef0.Page `form:"page,omitempty" json:"page,omitempty"`
// PageSize Number of items per page
PageSize *externalRef0.PageSize `form:"pageSize,omitempty" json:"pageSize,omitempty"`
}
UserSocialAccountListParams defines parameters for UserSocialAccountList.
type UserSocialAccountListResponse ¶
type UserSocialAccountListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]SocialAccount
JSONDefault *Error
}
func ParseUserSocialAccountListResponse ¶
func ParseUserSocialAccountListResponse(rsp *http.Response) (*UserSocialAccountListResponse, error)
ParseUserSocialAccountListResponse parses an HTTP response from a UserSocialAccountListWithResponse call
func (UserSocialAccountListResponse) Status ¶
func (r UserSocialAccountListResponse) Status() string
Status returns HTTPResponse.Status
func (UserSocialAccountListResponse) StatusCode ¶
func (r UserSocialAccountListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserStatus ¶
type UserStatus string
UserStatus defines model for userStatus.
const ( UserStatusActive UserStatus = "active" UserStatusDisabled UserStatus = "disabled" UserStatusPending UserStatus = "pending" )
Defines values for UserStatus.
type UserUpdateJSONRequestBody ¶
type UserUpdateJSONRequestBody = UserUpdateReq
UserUpdateJSONRequestBody defines body for UserUpdate for application/json ContentType.
type UserUpdateReq ¶
type UserUpdateReq struct {
FullName *string `json:"fullName,omitempty"`
Status *UserStatus `json:"status,omitempty"`
}
UserUpdateReq defines model for userUpdateReq.
type UserUpdateResponse ¶
type UserUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *User
JSONDefault *Error
}
func ParseUserUpdateResponse ¶
func ParseUserUpdateResponse(rsp *http.Response) (*UserUpdateResponse, error)
ParseUserUpdateResponse parses an HTTP response from a UserUpdateWithResponse call
func (UserUpdateResponse) Status ¶
func (r UserUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (UserUpdateResponse) StatusCode ¶
func (r UserUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode