Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StatusInternal = gstatus.New(codes.Internal, "auth: internal") StatusMissingCode = gstatus.New(codes.InvalidArgument, "auth: code must not be empty") StatusMissingState = gstatus.New(codes.InvalidArgument, "auth: state must not be empty") StatusMissingAuthType = gstatus.New(codes.InvalidArgument, "auth: missing authType") StatusUnknownAuthType = gstatus.New(codes.InvalidArgument, "auth: unknown authType") StatusMissingRedirectURL = gstatus.New(codes.InvalidArgument, "auth: missing redirectURL") StatusUnregisteredRedirectURL = gstatus.New(codes.InvalidArgument, "auth: unregistered redirectURL") StatusMissingRefreshToken = gstatus.New(codes.InvalidArgument, "auth: refreshToken must not be empty") StatusInvalidCode = gstatus.New(codes.InvalidArgument, "auth: invalid code") StatusInvalidRefreshToken = gstatus.New(codes.InvalidArgument, "auth: invalid refresh token") StatusUnapprovedAccount = gstatus.New(codes.PermissionDenied, "auth: unapproved account") StatusAccessDeniedEmail = gstatus.New(codes.PermissionDenied, "auth: access denied email") StatusUnauthenticated = gstatus.New(codes.Unauthenticated, "auth: not authenticated") StateMissingUsername = gstatus.New(codes.InvalidArgument, "auth: missing username") StateMissingPassword = gstatus.New(codes.InvalidArgument, "auth: missing password") StatusAccessDenied = gstatus.New(codes.PermissionDenied, "auth: access denied") )
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type DemoSignInConfig ¶
type DemoSignInConfig struct { Enabled bool `json:"enabled"` Password string `json:"password"` Email string `json:"email"` OrganizationId string `json:"organizationId"` OrganizationOwnerEmail string `json:"organizationOwnerEmail"` ProjectId string `json:"projectId"` EnvironmentId string `json:"environmentId"` IsSystemAdmin bool `json:"isSystemAdmin"` }
type GoogleConfig ¶
type OAuthConfig ¶
type OAuthConfig struct { Issuer string `json:"issuer"` Audience string `json:"audience"` GoogleConfig GoogleConfig `json:"google"` DemoSignIn DemoSignInConfig `json:"demoSignIn"` }
Click to show internal directories.
Click to hide internal directories.