Documentation ¶
Index ¶
- func GetIdp() (string, bool)
- func NewAuth(idp string) *auth
- func NewConfigClient() (configV1.ConfigClient, *grpc.ClientConn)
- func NewControllerClient() (controllerV1.ControllerClient, *grpc.ClientConn)
- func NewLogClient() (logV1.LogClient, *grpc.ClientConn)
- func NewReportClient() (reportV1.ReportClient, *grpc.ClientConn)
- func RandStringBytesMaskImprSrc(n int) string
- type Claims
- type LoginResponseServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
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
}
Click to show internal directories.
Click to hide internal directories.