clerk

package
v0.0.125 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 9 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"`
	GithubUsername string `json:"github_username,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