stytchapi

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	CryptoWallets *cryptowallet.Client
	MagicLinks    *magiclink.Client
	OAuth         *oauth.Client
	OTPs          *otp.Client
	Sessions      *session.Client
	TOTPs         *totp.Client
	Users         *user.Client
	WebAuthn      *webauthn.Client
	// contains filtered or unexported fields
}

func NewAPIClient

func NewAPIClient(env config.Env, projectID string, secret string, opts ...Option) (*API, error)

type Logger

type Logger interface {
	Printf(format string, v ...interface{})
}

type Option

type Option func(*API)

func WithLogger

func WithLogger(logger Logger) Option

Jump to

Keyboard shortcuts

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