frontend

package
v0.0.0-...-a3c239f Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSession

func CheckSession(ctx context.Context, sessionToken string) (session *client.Session, err error)

func CreateLogin

func CreateLogin(ctx context.Context) (*client.LoginFlow, error)

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 GetActiveSessions(ctx context.Context, sessionToken string) ([]client.Session, error)

func GetLogin

func GetLogin(ctx context.Context, flowId string) (*client.LoginFlow, error)

func GetRecovery

func GetRecovery(ctx context.Context, flowId string) (*client.RecoveryFlow, error)

func GetRegistration

func GetRegistration(ctx context.Context, flowId string) (*client.RegistrationFlow, error)

func GetVerification

func GetVerification(ctx context.Context, flowId string) (*client.VerificationFlow, error)

func Logout

func Logout(ctx context.Context, sessionToken string) error

func RevokeOtherSessions

func RevokeOtherSessions(ctx context.Context, sessionToken string) (*client.DeleteMySessionsCount, error)

func RevokeSession

func RevokeSession(ctx context.Context, sessionToken string, sessionToRevokeId string) error

func SubmitRecovery

func SubmitRecovery(ctx context.Context, flowId string, body client.UpdateRecoveryFlowBody) (*client.RecoveryFlow, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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