password

package
v5.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	C                *stytch.Client
	Email            *email.Client
	ExistingPassword *existingpassword.Client
	Session          *session.Client
}

func (*Client) AuthenticateWithClaims added in v5.10.0

func (c *Client) AuthenticateWithClaims(
	body *stytch.PasswordsAuthenticateParams,
	claims interface{},
) (*stytch.PasswordsAuthenticateResponse, error)

AuthenticateWithClaims fills in the claims pointer with custom claims from the response. Pass in a map with the types of values you're expecting so that this function can marshal the claims from the response. See ExampleClient_AuthenticateWithClaims_map, ExampleClient_AuthenticateWithClaims_struct for examples

func (*Client) Create

func (*Client) CreateWithClaims added in v5.10.0

func (c *Client) CreateWithClaims(
	body *stytch.PasswordsCreateParams,
	claims interface{},
) (*stytch.PasswordsCreateResponse, error)

CreateWithClaims fills in the claims pointer with custom claims from the response. Pass in a map with the types of values you're expecting so that this function can marshal the claims from the response. See ExampleClient_AuthenticateWithClaims_map, ExampleClient_AuthenticateWithClaims_struct for examples

func (*Client) Migrate

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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