connection

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIdp

func GetIdp() (string, bool)

func NewAuth

func NewAuth(idp string) *auth

func NewConfigClient

func NewConfigClient() (configV1.ConfigClient, *grpc.ClientConn)

func NewControllerClient

func NewControllerClient() (controllerV1.ControllerClient, *grpc.ClientConn)

func NewLogClient

func NewLogClient() (logV1.LogClient, *grpc.ClientConn)

func NewReportClient

func NewReportClient() (reportV1.ReportClient, *grpc.ClientConn)

func RandStringBytesMaskImprSrc

func RandStringBytesMaskImprSrc(n int) string

Types

type Claims

type Claims struct {
	Email    string   `json:"email"`
	Verified bool     `json:"email_verified"`
	Groups   []string `json:"groups"`
	Name     string   `json:"name"`
}

Extract custom claims.

type LoginResponseServer

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

Jump to

Keyboard shortcuts

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