Documentation ¶
Index ¶
- Constants
- type AppleOAuthFactor
- type Attributes
- type AuthenticationFactor
- type AuthenticatorAppFactor
- type Client
- type Email
- type EmailFactor
- type EmailString
- type GithubOAuthFactor
- type GoogleOAuthFactor
- type MagicLinksAuthenticateParams
- type MagicLinksAuthenticateResponse
- type MagicLinksCreateParams
- type MagicLinksCreateResponse
- type MagicLinksEmailInviteParams
- type MagicLinksEmailInviteResponse
- type MagicLinksEmailLoginOrCreateParams
- type MagicLinksEmailLoginOrCreateResponse
- type MagicLinksEmailRevokeInviteParams
- type MagicLinksEmailRevokeInviteResponse
- type MagicLinksEmailSendParams
- type MagicLinksEmailSendResponse
- type MicrosoftOAuthFactor
- type Name
- type OAuthAuthenticateParams
- type OAuthAuthenticateResponse
- type OAuthProvider
- type OAuthSession
- type OAuthSessionIdp
- type OTPsAuthenticateParams
- type OTPsAuthenticateResponse
- type OTPsEmailLoginOrCreateParams
- type OTPsEmailLoginOrCreateResponse
- type OTPsEmailSendParams
- type OTPsEmailSendResponse
- type OTPsSMSLoginOrCreateParams
- type OTPsSMSLoginOrCreateResponse
- type OTPsSMSSendParams
- type OTPsSMSSendResponse
- type OTPsWhatsAppLoginOrCreateParams
- type OTPsWhatsAppLoginOrCreateResponse
- type OTPsWhatsAppSendParams
- type OTPsWhatsAppSendResponse
- type Options
- type PendingUsers
- type PhoneNumber
- type PhoneNumberFactor
- type PhoneNumberString
- type ProviderType
- type RecoveryCodeFactor
- type Session
- type SessionManagementType
- type SessionsAuthenticateParams
- type SessionsAuthenticateResponse
- type SessionsGetParams
- type SessionsGetResponse
- type SessionsRevokeParams
- type SessionsRevokeResponse
- type StytchSession
- type TOTP
- type TOTPsAuthenticateParams
- type TOTPsAuthenticateResponse
- type TOTPsCreateParams
- type TOTPsCreateResponse
- type TOTPsRecoverParams
- type TOTPsRecoverResponse
- type TOTPsRecoveryCodesParams
- type TOTPsRecoveryCodesResponse
- type User
- type UserTOTP
- type UsersCreateParams
- type UsersCreateResponse
- type UsersDeleteEmailResponse
- type UsersDeletePhoneNumberResponse
- type UsersDeleteResponse
- type UsersDeleteTOTPResponse
- type UsersDeleteWebAuthnRegistrationResponse
- type UsersGetPendingParams
- type UsersGetPendingResponse
- type UsersGetResponse
- type UsersSearchOperator
- type UsersSearchParams
- type UsersSearchQuery
- type UsersSearchQueryCreatedAtBetweenFilter
- type UsersSearchQueryCreatedAtGreaterThanFilter
- type UsersSearchQueryCreatedAtLessThanFilter
- type UsersSearchQueryEmailAddressFilter
- type UsersSearchQueryEmailAddressFuzzyFilter
- type UsersSearchQueryEmailIDFilter
- type UsersSearchQueryEmailVerifiedFilter
- type UsersSearchQueryFullNameFuzzyFilter
- type UsersSearchQueryOAuthProviderFilter
- type UsersSearchQueryPhoneIDFilter
- type UsersSearchQueryPhoneNumberFilter
- type UsersSearchQueryPhoneNumberFuzzyFilter
- type UsersSearchQueryPhoneVerifiedFilter
- type UsersSearchQueryStatusFilter
- type UsersSearchQueryTOTPIDFilter
- type UsersSearchQueryTOTPVerifiedFilter
- type UsersSearchQueryUserIDFilter
- type UsersSearchQueryWebAuthnRegistrationIDFilter
- type UsersSearchQueryWebAuthnRegistrationVerifiedFilter
- type UsersSearchResponse
- type UsersUpdateParams
- type UsersUpdateResponse
- type WebAuthnAuthenticateParams
- type WebAuthnAuthenticateResponse
- type WebAuthnAuthenticateStartParams
- type WebAuthnAuthenticateStartResponse
- type WebAuthnFactor
- type WebAuthnRegisterParams
- type WebAuthnRegisterResponse
- type WebAuthnRegisterStartParams
- type WebAuthnRegisterStartResponse
- type WebAuthnRegistration
Constants ¶
View Source
const ( EnvTest = config.EnvTest EnvLive = config.EnvLive )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppleOAuthFactor ¶ added in v3.11.1
type Attributes ¶
type Attributes struct { // The ip address of the user. IPAddress string `json:"ip_address,omitempty"` // The user agent of the user. UserAgent string `json:"user_agent,omitempty"` }
* Structure for the custom type Attributes
type AuthenticationFactor ¶ added in v3.6.0
type AuthenticationFactor struct { Type string `json:"type,omitempty"` DeliveryMethod string `json:"delivery_method,omitempty"` LastAuthenticatedAt string `json:"last_authenticated_at,omitempty"` EmailFactor EmailFactor `json:"email_factor,omitempty"` PhoneNumberFactor PhoneNumberFactor `json:"phone_number_factor,omitempty"` GoogleOAuthFactor GoogleOAuthFactor `json:"google_oauth_factor,omitempty"` MicrosoftOAuthFactor MicrosoftOAuthFactor `json:"microsoft_oauth_factor,omitempty"` AppleOAuthFactor AppleOAuthFactor `json:"apple_oauth_factor,omitempty"` GithubOAuthFactor GithubOAuthFactor `json:"github_oauth_factor,omitempty"` WebAuthnFactor WebAuthnFactor `json:"webauthn_factor,omitempty"` AuthenticatorAppFactor AuthenticatorAppFactor `json:"authenticator_app_factor,omitempty"` RecoveryCodeFactor RecoveryCodeFactor `json:"recovery_code_factor,omitempty"` }
type AuthenticatorAppFactor ¶ added in v3.9.0
type AuthenticatorAppFactor struct {
TOTPID string `json:"totp_id,omitempty"`
}
type EmailFactor ¶ added in v3.6.0
type EmailString ¶
type EmailString struct {
Email string `json:"email,omitempty"`
}
type GithubOAuthFactor ¶ added in v3.11.1
type GoogleOAuthFactor ¶ added in v3.6.0
type MagicLinksAuthenticateParams ¶
type MagicLinksAuthenticateParams struct { Token string `json:"token,omitempty"` Options Options `json:"options,omitempty"` Attributes Attributes `json:"attributes,omitempty"` SessionToken string `json:"session_token,omitempty"` SessionDurationMinutes int32 `json:"session_duration_minutes,omitempty"` }
type MagicLinksAuthenticateResponse ¶
type MagicLinksAuthenticateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` MethodID string `json:"method_id,omitempty"` SessionToken string `json:"session_token,omitempty"` Session Session `json:"session,omitempty"` }
type MagicLinksCreateParams ¶ added in v3.4.0
type MagicLinksCreateParams struct { UserID string `json:"user_id,omitempty"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
type MagicLinksCreateResponse ¶ added in v3.4.0
type MagicLinksEmailInviteParams ¶
type MagicLinksEmailInviteParams struct { Email string `json:"email"` InviteMagicLinkURL string `json:"invite_magic_link_url,omitempty"` InviteExpirationMinutes int32 `json:"invite_expiration_minutes,omitempty"` Name Name `json:"name,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
type MagicLinksEmailLoginOrCreateParams ¶
type MagicLinksEmailLoginOrCreateParams struct { Email string `json:"email"` LoginMagicLinkURL string `json:"login_magic_link_url,omitempty"` SignupMagicLinkURL string `json:"signup_magic_link_url,omitempty"` LoginExpirationMinutes int32 `json:"login_expiration_minutes,omitempty"` SignupExpirationMinutes int32 `json:"signup_expiration_minutes,omitempty"` CreateUserAsPending bool `json:"create_user_as_pending,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
type MagicLinksEmailRevokeInviteParams ¶
type MagicLinksEmailRevokeInviteParams struct {
Email string `json:"email"`
}
type MagicLinksEmailSendParams ¶
type MagicLinksEmailSendParams struct { Email string `json:"email"` LoginMagicLinkURL string `json:"login_magic_link_url,omitempty"` SignupMagicLinkURL string `json:"signup_magic_link_url,omitempty"` LoginExpirationMinutes int32 `json:"login_expiration_minutes,omitempty"` SignupExpirationMinutes int32 `json:"signup_expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
MAGIC LINK - EMAIL
type MicrosoftOAuthFactor ¶ added in v3.11.1
type OAuthAuthenticateParams ¶ added in v3.5.0
type OAuthAuthenticateParams struct { Token string `json:"token,omitempty"` SessionManagementType SessionManagementType `json:"session_management_type,omitempty"` SessionToken string `json:"session_token,omitempty"` SessionDurationMinutes int32 `json:"session_duration_minutes,omitempty"` }
type OAuthAuthenticateResponse ¶ added in v3.5.0
type OAuthAuthenticateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` ProviderSubject string `json:"provider_subject,omitempty"` ProviderType ProviderType `json:"provider_type,omitempty"` Session *OAuthSession `json:"session,omitempty"` }
type OAuthProvider ¶ added in v3.8.0
type OAuthSession ¶ added in v3.5.0
type OAuthSession struct { Idp *OAuthSessionIdp `json:"idp,omitempty"` StytchSession *StytchSession `json:"stytch_session,omitempty"` }
type OAuthSessionIdp ¶ added in v3.5.0
type OTPsAuthenticateParams ¶
type OTPsAuthenticateParams struct { MethodID string `json:"method_id"` Code string `json:"code"` Options Options `json:"options,omitempty"` Attributes Attributes `json:"attributes,omitempty"` SessionToken string `json:"session_token,omitempty"` SessionDurationMinutes int32 `json:"session_duration_minutes,omitempty"` }
type OTPsAuthenticateResponse ¶
type OTPsAuthenticateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` MethodID string `json:"method_id,omitempty"` SessionToken string `json:"session_token,omitempty"` Session Session `json:"session,omitempty"` }
type OTPsEmailLoginOrCreateParams ¶ added in v3.3.0
type OTPsEmailLoginOrCreateParams struct { Email string `json:"email"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` CreateUserAsPending bool `json:"create_user_as_pending,omitempty"` }
type OTPsEmailLoginOrCreateResponse ¶ added in v3.3.0
type OTPsEmailSendParams ¶ added in v3.3.0
type OTPsEmailSendParams struct { Email string `json:"email"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
OTP - Email
type OTPsEmailSendResponse ¶ added in v3.3.0
type OTPsSMSLoginOrCreateParams ¶
type OTPsSMSLoginOrCreateParams struct { PhoneNumber string `json:"phone_number"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` CreateUserAsPending bool `json:"create_user_as_pending,omitempty"` }
type OTPsSMSSendParams ¶
type OTPsSMSSendParams struct { PhoneNumber string `json:"phone_number"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
OTP - SMS
type OTPsSMSSendResponse ¶
type OTPsWhatsAppLoginOrCreateParams ¶ added in v3.1.0
type OTPsWhatsAppLoginOrCreateParams struct { PhoneNumber string `json:"phone_number"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` CreateUserAsPending bool `json:"create_user_as_pending,omitempty"` }
type OTPsWhatsAppLoginOrCreateResponse ¶ added in v3.1.0
type OTPsWhatsAppSendParams ¶ added in v3.1.0
type OTPsWhatsAppSendParams struct { PhoneNumber string `json:"phone_number"` ExpirationMinutes int32 `json:"expiration_minutes,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
OTP - WhatsApp
type OTPsWhatsAppSendResponse ¶ added in v3.1.0
type Options ¶
type Options struct { // Require that the ip address the magic link was requested from // matches the ip address it's clicked from. IPMatchRequired bool `json:"ip_match_required,omitempty"` // Require that the user agent the magic link was requested from // matches the user agent it's clicked from. UserAgentMatchRequired bool `json:"user_agent_match_required,omitempty"` }
* Structure for the custom type Options
type PendingUsers ¶
type PendingUsers struct { UserID string `json:"user_id,omitempty"` Name Name `json:"name,omitempty"` Emails []Email `json:"emails,omitempty"` PhoneNumbers []PhoneNumber `json:"phone_numbers,omitempty"` TOTPs []UserTOTP `json:"totps,omitempty"` Status string `json:"status,omitempty"` InvitedAt string `json:"invited_at,omitempty"` }
type PhoneNumber ¶
type PhoneNumberFactor ¶ added in v3.6.0
type PhoneNumberString ¶
type PhoneNumberString struct {
PhoneNumber string `json:"phone_number,omitempty"`
}
type ProviderType ¶ added in v3.5.0
type ProviderType string
const (
ProviderTypeGoogle ProviderType = "Google"
)
type RecoveryCodeFactor ¶ added in v3.11.1
type RecoveryCodeFactor struct {
TOTPRecoveryCodeID string `json:"totp_recovery_code_id,omitempty"`
}
type Session ¶ added in v3.2.0
type Session struct { SessionID string `json:"session_id,omitempty"` UserID string `json:"user_id,omitempty"` StartedAt string `json:"started_at,omitempty"` LastAccessedAt string `json:"last_accessed_at,omitempty"` ExpiresAt string `json:"expires_at,omitempty"` Attributes Attributes `json:"attributes,omitempty"` AuthenticationFactors []*AuthenticationFactor `json:"authentication_factors,omitempty"` }
* Structure for the custom type Session
type SessionManagementType ¶ added in v3.5.0
type SessionManagementType string
const ( SessionManagementTypeIDP SessionManagementType = "idp" SessionManagementTypeNone SessionManagementType = "none" SessionManagementTypeStytch SessionManagementType = "stytch" )
type SessionsAuthenticateParams ¶ added in v3.2.0
type SessionsAuthenticateResponse ¶ added in v3.2.0
type SessionsGetParams ¶ added in v3.2.0
type SessionsGetParams struct {
UserID string `json:"user_id"`
}
type SessionsGetResponse ¶ added in v3.2.0
type SessionsRevokeParams ¶ added in v3.2.0
type SessionsRevokeResponse ¶ added in v3.2.0
type SessionsRevokeResponse struct {
RequestID string `json:"request_id,omitempty"`
}
type StytchSession ¶ added in v3.6.0
type TOTPsAuthenticateParams ¶ added in v3.9.0
type TOTPsAuthenticateResponse ¶ added in v3.9.0
type TOTPsAuthenticateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` TOTPID string `json:"totp_id,omitempty"` SessionToken string `json:"session_token,omitempty"` Session Session `json:"session,omitempty"` }
type TOTPsCreateParams ¶ added in v3.9.0
type TOTPsCreateResponse ¶ added in v3.9.0
type TOTPsCreateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` Secret string `json:"secret,omitempty"` TOTPID string `json:"totp_id,omitempty"` QRCode string `json:"qr_code,omitempty"` RecoveryCodes []string `json:"recovery_codes,omitempty"` }
type TOTPsRecoverParams ¶ added in v3.9.0
type TOTPsRecoverResponse ¶ added in v3.9.0
type TOTPsRecoverResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` TOTPID string `json:"totp_id,omitempty"` SessionToken string `json:"session_token,omitempty"` Session Session `json:"session,omitempty"` }
type TOTPsRecoveryCodesParams ¶ added in v3.9.0
type TOTPsRecoveryCodesParams struct {
UserID string `json:"user_id"`
}
type TOTPsRecoveryCodesResponse ¶ added in v3.9.0
type User ¶ added in v3.8.0
type User struct { UserID string `json:"user_id,omitempty"` Name Name `json:"name,omitempty"` Emails []Email `json:"emails,omitempty"` PhoneNumbers []PhoneNumber `json:"phone_numbers,omitempty"` WebAuthnRegistrations []WebAuthnRegistration `json:"webauthn_registrations,omitempty"` OAuthProviders []OAuthProvider `json:"providers,omitempty"` TOTPs []UserTOTP `json:"totps,omitempty"` Status string `json:"status,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` }
type UsersCreateParams ¶
type UsersCreateParams struct { Email string `json:"email,omitempty"` PhoneNumber string `json:"phone_number,omitempty"` Name Name `json:"name,omitempty"` CreateUserAsPending bool `json:"create_user_as_pending,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
type UsersCreateResponse ¶
type UsersDeleteResponse ¶
type UsersDeleteTOTPResponse ¶ added in v3.9.0
type UsersDeleteWebAuthnRegistrationResponse ¶ added in v3.7.0
type UsersGetPendingParams ¶
type UsersGetPendingResponse ¶
type UsersGetPendingResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` Users []PendingUsers `json:"users,omitempty"` HasMore bool `json:"has_more,omitempty"` StartingAfterID string `json:"starting_after_id,omitempty"` Total int `json:"total,omitempty"` }
type UsersGetResponse ¶
type UsersGetResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` Name Name `json:"name,omitempty"` Emails []Email `json:"emails,omitempty"` PhoneNumbers []PhoneNumber `json:"phone_numbers,omitempty"` WebAuthnRegistrations []WebAuthnRegistration `json:"webauthn_registrations,omitempty"` OAuthProviders []OAuthProvider `json:"providers,omitempty"` TOTPs []UserTOTP `json:"totps,omitempty"` Status string `json:"status,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` }
type UsersSearchOperator ¶ added in v3.8.0
type UsersSearchOperator string
const ( UserSearchOperatorOR UsersSearchOperator = "OR" UserSearchOperatorAND UsersSearchOperator = "AND" )
type UsersSearchParams ¶ added in v3.8.0
type UsersSearchParams struct { Limit int32 `json:"limit,omitempty"` Query *UsersSearchQuery `json:"query,omitempty"` Cursor string `json:"cursor,omitempty"` }
User Search
type UsersSearchQuery ¶ added in v3.8.0
type UsersSearchQuery struct { Operator UsersSearchOperator `json:"operator,omitempty"` Operands []json.Marshaler `json:"operands,omitempty"` }
type UsersSearchQueryCreatedAtBetweenFilter ¶ added in v3.8.0
func (UsersSearchQueryCreatedAtBetweenFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryCreatedAtBetweenFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryCreatedAtGreaterThanFilter ¶ added in v3.8.0
Created At Filters
func (UsersSearchQueryCreatedAtGreaterThanFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryCreatedAtGreaterThanFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryCreatedAtLessThanFilter ¶ added in v3.8.0
func (UsersSearchQueryCreatedAtLessThanFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryCreatedAtLessThanFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryEmailAddressFilter ¶ added in v3.8.0
type UsersSearchQueryEmailAddressFilter struct {
EmailAddresses []string
}
func (UsersSearchQueryEmailAddressFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryEmailAddressFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryEmailAddressFuzzyFilter ¶ added in v3.8.0
type UsersSearchQueryEmailAddressFuzzyFilter struct {
EmailAddressFuzzy string
}
func (UsersSearchQueryEmailAddressFuzzyFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryEmailAddressFuzzyFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryEmailIDFilter ¶ added in v3.8.0
type UsersSearchQueryEmailIDFilter struct {
EmailIDs []string
}
func (UsersSearchQueryEmailIDFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryEmailIDFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryEmailVerifiedFilter ¶ added in v3.8.0
type UsersSearchQueryEmailVerifiedFilter struct {
EmailVerified bool
}
func (UsersSearchQueryEmailVerifiedFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryEmailVerifiedFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryFullNameFuzzyFilter ¶ added in v3.8.0
type UsersSearchQueryFullNameFuzzyFilter struct {
FullNameFuzzy string
}
func (UsersSearchQueryFullNameFuzzyFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryFullNameFuzzyFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryOAuthProviderFilter ¶ added in v3.8.0
type UsersSearchQueryOAuthProviderFilter struct {
OAuthProviders []string
}
func (UsersSearchQueryOAuthProviderFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryOAuthProviderFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryPhoneIDFilter ¶ added in v3.8.0
type UsersSearchQueryPhoneIDFilter struct {
PhoneIDs []string
}
func (UsersSearchQueryPhoneIDFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryPhoneIDFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryPhoneNumberFilter ¶ added in v3.8.0
type UsersSearchQueryPhoneNumberFilter struct {
PhoneNumbers []string
}
func (UsersSearchQueryPhoneNumberFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryPhoneNumberFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryPhoneNumberFuzzyFilter ¶ added in v3.8.0
type UsersSearchQueryPhoneNumberFuzzyFilter struct {
PhoneNumberFuzzy string
}
func (UsersSearchQueryPhoneNumberFuzzyFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryPhoneNumberFuzzyFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryPhoneVerifiedFilter ¶ added in v3.8.0
type UsersSearchQueryPhoneVerifiedFilter struct {
PhoneVerified bool
}
func (UsersSearchQueryPhoneVerifiedFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryPhoneVerifiedFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryStatusFilter ¶ added in v3.8.0
type UsersSearchQueryStatusFilter struct {
Status string
}
User Filters
func (UsersSearchQueryStatusFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryStatusFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryTOTPIDFilter ¶ added in v3.9.0
type UsersSearchQueryTOTPIDFilter struct {
TOTPIDs []string
}
func (UsersSearchQueryTOTPIDFilter) MarshalJSON ¶ added in v3.9.0
func (q UsersSearchQueryTOTPIDFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryTOTPVerifiedFilter ¶ added in v3.11.1
type UsersSearchQueryTOTPVerifiedFilter struct {
TOTPVerified bool
}
func (UsersSearchQueryTOTPVerifiedFilter) MarshalJSON ¶ added in v3.11.1
func (q UsersSearchQueryTOTPVerifiedFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryUserIDFilter ¶ added in v3.8.0
type UsersSearchQueryUserIDFilter struct {
UserIDs []string
}
func (UsersSearchQueryUserIDFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryUserIDFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryWebAuthnRegistrationIDFilter ¶ added in v3.8.0
type UsersSearchQueryWebAuthnRegistrationIDFilter struct {
WebAuthnRegistrationIDs []string
}
func (UsersSearchQueryWebAuthnRegistrationIDFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryWebAuthnRegistrationIDFilter) MarshalJSON() ([]byte, error)
type UsersSearchQueryWebAuthnRegistrationVerifiedFilter ¶ added in v3.8.0
type UsersSearchQueryWebAuthnRegistrationVerifiedFilter struct {
WebAuthnRegistrationVerified bool
}
func (UsersSearchQueryWebAuthnRegistrationVerifiedFilter) MarshalJSON ¶ added in v3.8.0
func (q UsersSearchQueryWebAuthnRegistrationVerifiedFilter) MarshalJSON() ([]byte, error)
type UsersSearchResponse ¶ added in v3.8.0
type UsersSearchResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` Results []User `json:"results,omitempty"` ResultsMetadata struct { NextCursor string `json:"next_cursor,omitempty"` Total int `json:"total,omitempty"` } `json:"results_metadata,omitempty"` }
type UsersUpdateParams ¶
type UsersUpdateParams struct { Name Name `json:"name,omitempty"` Emails []EmailString `json:"emails,omitempty"` PhoneNumbers []PhoneNumberString `json:"phone_numbers,omitempty"` Attributes Attributes `json:"attributes,omitempty"` }
type UsersUpdateResponse ¶
type UsersUpdateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` Emails []Email `json:"emails,omitempty"` PhoneNumbers []PhoneNumber `json:"phone_numbers,omitempty"` }
type WebAuthnAuthenticateParams ¶ added in v3.7.0
type WebAuthnAuthenticateResponse ¶ added in v3.7.0
type WebAuthnAuthenticateResponse struct { RequestID string `json:"request_id,omitempty"` StatusCode int `json:"status_code,omitempty"` UserID string `json:"user_id,omitempty"` WebAuthnRegistrationID string `json:"webauthn_registration_id,omitempty"` SessionToken string `json:"session_token,omitempty"` Session Session `json:"session,omitempty"` }
type WebAuthnAuthenticateStartParams ¶ added in v3.7.0
type WebAuthnAuthenticateStartResponse ¶ added in v3.7.0
type WebAuthnFactor ¶ added in v3.7.0
type WebAuthnRegisterParams ¶ added in v3.7.0
type WebAuthnRegisterResponse ¶ added in v3.7.0
type WebAuthnRegisterStartParams ¶ added in v3.7.0
type WebAuthnRegisterStartResponse ¶ added in v3.7.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.