privy

package
v0.0.0-...-476b611 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 15 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 {
	// contains filtered or unexported fields
}

func NewPrivyClient

func NewPrivyClient(httpClient *http.Client) *Client

type PrivyAuthenticator

type PrivyAuthenticator struct {
	// contains filtered or unexported fields
}

func NewAuthenticator

func NewAuthenticator(userRepo *postgres.UserRepository, queries *coredb.Queries, privyClient *Client, privyAuthToken string) PrivyAuthenticator

func (PrivyAuthenticator) Authenticate

func (a PrivyAuthenticator) Authenticate(ctx context.Context) (*auth.AuthResult, error)

func (PrivyAuthenticator) GetDescription

func (a PrivyAuthenticator) GetDescription() string

Jump to

Keyboard shortcuts

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