Documentation ¶
Index ¶
- type Client
- func (c *Client) Authenticate(body *stytch.WebAuthnAuthenticateParams) (*stytch.WebAuthnAuthenticateResponse, error)
- func (c *Client) AuthenticateStart(body *stytch.WebAuthnAuthenticateStartParams) (*stytch.WebAuthnAuthenticateStartResponse, error)
- func (c *Client) AuthenticateWithClaims(body *stytch.WebAuthnAuthenticateParams, claims interface{}) (*stytch.WebAuthnAuthenticateResponse, error)
- func (c *Client) Register(body *stytch.WebAuthnRegisterParams) (*stytch.WebAuthnRegisterResponse, error)
- func (c *Client) RegisterStart(body *stytch.WebAuthnRegisterStartParams) (*stytch.WebAuthnRegisterStartResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Authenticate ¶
func (c *Client) Authenticate(body *stytch.WebAuthnAuthenticateParams, ) (*stytch.WebAuthnAuthenticateResponse, error)
func (*Client) AuthenticateStart ¶
func (c *Client) AuthenticateStart(body *stytch.WebAuthnAuthenticateStartParams, ) (*stytch.WebAuthnAuthenticateStartResponse, error)
func (*Client) AuthenticateWithClaims ¶ added in v5.7.0
func (c *Client) AuthenticateWithClaims( body *stytch.WebAuthnAuthenticateParams, claims interface{}, ) (*stytch.WebAuthnAuthenticateResponse, 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) Register ¶
func (c *Client) Register(body *stytch.WebAuthnRegisterParams, ) (*stytch.WebAuthnRegisterResponse, error)
func (*Client) RegisterStart ¶
func (c *Client) RegisterStart(body *stytch.WebAuthnRegisterStartParams, ) (*stytch.WebAuthnRegisterStartResponse, error)
Click to show internal directories.
Click to hide internal directories.