clerk

package
v0.0.100 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWT

func JWT(ctx context.Context, st *State) (string, error)

Types

type State

type State struct {
	Email       string `json:"email,omitempty"`
	Name        string `json:"name,omitempty"`
	ClerkClient string `json:"clerk_client,omitempty"`
}

func Login

func Login(ctx context.Context, ticket string) (*State, error)

Jump to

Keyboard shortcuts

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