Documentation
¶
Index ¶
- func CheckSession(ctx context.Context, sessionToken string) (session *client.Session, err error)
- func CreateLogin(ctx context.Context) (*client.LoginFlow, error)
- func CreateRecovery(ctx context.Context) (*client.RecoveryFlow, error)
- func CreateRegisteration(ctx context.Context) (*client.RegistrationFlow, error)
- func CreateVerification(ctx context.Context) (*client.VerificationFlow, error)
- func GetActiveSessions(ctx context.Context, sessionToken string) ([]client.Session, error)
- func GetLogin(ctx context.Context, flowId string) (*client.LoginFlow, error)
- func GetRecovery(ctx context.Context, flowId string) (*client.RecoveryFlow, error)
- func GetRegistration(ctx context.Context, flowId string) (*client.RegistrationFlow, error)
- func GetVerification(ctx context.Context, flowId string) (*client.VerificationFlow, error)
- func Logout(ctx context.Context, sessionToken string) error
- func RevokeOtherSessions(ctx context.Context, sessionToken string) (*client.DeleteMySessionsCount, error)
- func RevokeSession(ctx context.Context, sessionToken string, sessionToRevokeId string) error
- func SubmitLogin(ctx context.Context, flowId string, body client.UpdateLoginFlowBody) (*client.SuccessfulNativeLogin, error)
- func SubmitRecovery(ctx context.Context, flowId string, body client.UpdateRecoveryFlowBody) (*client.RecoveryFlow, error)
- func SubmitRegistration(ctx context.Context, flowId string, body client.UpdateRegistrationFlowBody) (*client.SuccessfulNativeRegistration, error)
- func SubmitVerification(ctx context.Context, flowId string, body client.UpdateVerificationFlowBody) (*client.VerificationFlow, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSession ¶
func CreateRecovery ¶
func CreateRecovery(ctx context.Context) (*client.RecoveryFlow, error)
func CreateRegisteration ¶
func CreateRegisteration(ctx context.Context) (*client.RegistrationFlow, error)
func CreateVerification ¶
func CreateVerification(ctx context.Context) (*client.VerificationFlow, error)
func GetActiveSessions ¶
func GetRecovery ¶
func GetRegistration ¶
func GetVerification ¶
func RevokeOtherSessions ¶
func RevokeSession ¶
func SubmitLogin ¶
func SubmitLogin(ctx context.Context, flowId string, body client.UpdateLoginFlowBody) (*client.SuccessfulNativeLogin, error)
func SubmitRecovery ¶
func SubmitRecovery(ctx context.Context, flowId string, body client.UpdateRecoveryFlowBody) (*client.RecoveryFlow, error)
func SubmitRegistration ¶
func SubmitRegistration(ctx context.Context, flowId string, body client.UpdateRegistrationFlowBody) (*client.SuccessfulNativeRegistration, error)
func SubmitVerification ¶
func SubmitVerification(ctx context.Context, flowId string, body client.UpdateVerificationFlowBody) (*client.VerificationFlow, error)
Types ¶
This section is empty.
Source Files
¶
- create-login.go
- create-recovery.go
- create-registration.go
- create-verification.go
- get-active-sessions.go
- get-login.go
- get-recovery.go
- get-registration.go
- get-verification.go
- logout.go
- revoke-other-sessions.go
- revoke-session.go
- submit-login.go
- submit-recovery.go
- submit-registration.go
- submit-verification.go
- whoami-browser.go
- whoami-native.go
Click to show internal directories.
Click to hide internal directories.