model

package
v0.0.0-...-b76c953 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepCode

type DeepCode struct {
	Host      url.URL
	PublicKey *rsa.PublicKey
}

type Runner

type Runner struct {
	ID           string
	ClientID     string
	ClientSecret string
	PrivateKey   *rsa.PrivateKey
}

func (*Runner) IsValidClientID

func (r *Runner) IsValidClientID(clientID string) bool

func (*Runner) IsValidClientSecret

func (r *Runner) IsValidClientSecret(clientSecret string) bool

type User

type User struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Login    string `json:"login"`
	Provider string `json:"provider"`
}

func (*User) Claims

func (u *User) Claims() map[string]interface{}

func (*User) String

func (u *User) String() string

Jump to

Keyboard shortcuts

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