Documentation
¶
Index ¶
- type DecryptKeysFromSessionOptions
- type GenerateQRResponse
- type MFAType
- type NhostSession
- type NhostSigninResponse
- type SigninRequestOptions
- type SigninResponse
- type SigninWithMFAOptions
- type SigninWithPasswordOptions
- type SignupOptions
- type ToggleMFAOptions
- type ToggleMFARequestOptions
- type UpdatePasswordOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateQRResponse ¶
type NhostSession ¶
type NhostSigninResponse ¶
type SigninRequestOptions ¶
type SigninResponse ¶
type SigninWithMFAOptions ¶
func (*SigninWithMFAOptions) JSONMarshal ¶
func (o *SigninWithMFAOptions) JSONMarshal() ([]byte, error)
Custom marshaller for the SigninWithMFAOptions.
type SignupOptions ¶
type ToggleMFAOptions ¶
type ToggleMFAOptions struct {
Code string `json:"code"`
// The value of "null" will deactivate MFA.
ActiveMFAType MFAType `json:"activeMfaType"`
}
func (*ToggleMFAOptions) JSONMarshal ¶
func (o *ToggleMFAOptions) JSONMarshal() ([]byte, error)
Custom marshaller for the ToggleMFAOptions.
type ToggleMFARequestOptions ¶
type ToggleMFARequestOptions struct {
Code string `json:"code"`
}
type UpdatePasswordOptions ¶
type UpdatePasswordOptions struct {
NewPassword string `json:"newPassword,omitempty"`
OldPassword string `json:"oldPassword,omitempty"`
}
func (*UpdatePasswordOptions) Marshal ¶
func (o *UpdatePasswordOptions) Marshal() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.