Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAuthHandlerServiceServer(s grpc.ServiceRegistrar, srv AuthHandlerServiceServer)
- func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
- type AuthHandlerInfo
- func (*AuthHandlerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AuthHandlerInfo) GetCapabilities() []string
- func (x *AuthHandlerInfo) GetDisplayName() string
- func (x *AuthHandlerInfo) GetFlows() []string
- func (x *AuthHandlerInfo) GetName() string
- func (*AuthHandlerInfo) ProtoMessage()
- func (x *AuthHandlerInfo) ProtoReflect() protoreflect.Message
- func (x *AuthHandlerInfo) Reset()
- func (x *AuthHandlerInfo) String() string
- type AuthHandlerServiceClient
- type AuthHandlerServiceServer
- type AuthHandlerService_LoginClient
- type AuthHandlerService_LoginServer
- type CachedTokenInfo
- func (*CachedTokenInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CachedTokenInfo) GetCachedAtUnix() int64
- func (x *CachedTokenInfo) GetExpiresAtUnix() int64
- func (x *CachedTokenInfo) GetFlow() string
- func (x *CachedTokenInfo) GetHandler() string
- func (x *CachedTokenInfo) GetIsExpired() bool
- func (x *CachedTokenInfo) GetScope() string
- func (x *CachedTokenInfo) GetSessionId() string
- func (x *CachedTokenInfo) GetTokenKind() string
- func (x *CachedTokenInfo) GetTokenType() string
- func (*CachedTokenInfo) ProtoMessage()
- func (x *CachedTokenInfo) ProtoReflect() protoreflect.Message
- func (x *CachedTokenInfo) Reset()
- func (x *CachedTokenInfo) String() string
- type Claims
- func (*Claims) Descriptor() ([]byte, []int)deprecated
- func (x *Claims) GetClientId() string
- func (x *Claims) GetEmail() string
- func (x *Claims) GetExpiresAtUnix() int64
- func (x *Claims) GetIssuedAtUnix() int64
- func (x *Claims) GetIssuer() string
- func (x *Claims) GetName() string
- func (x *Claims) GetObjectId() string
- func (x *Claims) GetSubject() string
- func (x *Claims) GetTenantId() string
- func (x *Claims) GetUsername() string
- func (*Claims) ProtoMessage()
- func (x *Claims) ProtoReflect() protoreflect.Message
- func (x *Claims) Reset()
- func (x *Claims) String() string
- type Contact
- type DeviceCodePrompt
- func (*DeviceCodePrompt) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCodePrompt) GetMessage() string
- func (x *DeviceCodePrompt) GetUserCode() string
- func (x *DeviceCodePrompt) GetVerificationUri() string
- func (*DeviceCodePrompt) ProtoMessage()
- func (x *DeviceCodePrompt) ProtoReflect() protoreflect.Message
- func (x *DeviceCodePrompt) Reset()
- func (x *DeviceCodePrompt) String() string
- type Example
- func (*Example) Descriptor() ([]byte, []int)deprecated
- func (x *Example) GetDescription() string
- func (x *Example) GetName() string
- func (x *Example) GetYaml() string
- func (*Example) ProtoMessage()
- func (x *Example) ProtoReflect() protoreflect.Message
- func (x *Example) Reset()
- func (x *Example) String() string
- type ExecuteProviderRequest
- func (*ExecuteProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteProviderRequest) GetContext() []byte
- func (x *ExecuteProviderRequest) GetDryRun() bool
- func (x *ExecuteProviderRequest) GetInput() []byte
- func (x *ExecuteProviderRequest) GetProviderName() string
- func (*ExecuteProviderRequest) ProtoMessage()
- func (x *ExecuteProviderRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteProviderRequest) Reset()
- func (x *ExecuteProviderRequest) String() string
- type ExecuteProviderResponse
- func (*ExecuteProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteProviderResponse) GetError() string
- func (x *ExecuteProviderResponse) GetOutput() []byte
- func (*ExecuteProviderResponse) ProtoMessage()
- func (x *ExecuteProviderResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteProviderResponse) Reset()
- func (x *ExecuteProviderResponse) String() string
- type GetAuthHandlersRequest
- type GetAuthHandlersResponse
- func (*GetAuthHandlersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthHandlersResponse) GetHandlers() []*AuthHandlerInfo
- func (*GetAuthHandlersResponse) ProtoMessage()
- func (x *GetAuthHandlersResponse) ProtoReflect() protoreflect.Message
- func (x *GetAuthHandlersResponse) Reset()
- func (x *GetAuthHandlersResponse) String() string
- type GetProviderDescriptorRequest
- func (*GetProviderDescriptorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderDescriptorRequest) GetProviderName() string
- func (*GetProviderDescriptorRequest) ProtoMessage()
- func (x *GetProviderDescriptorRequest) ProtoReflect() protoreflect.Message
- func (x *GetProviderDescriptorRequest) Reset()
- func (x *GetProviderDescriptorRequest) String() string
- type GetProviderDescriptorResponse
- func (*GetProviderDescriptorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProviderDescriptorResponse) GetDescriptor_() *ProviderDescriptor
- func (*GetProviderDescriptorResponse) ProtoMessage()
- func (x *GetProviderDescriptorResponse) ProtoReflect() protoreflect.Message
- func (x *GetProviderDescriptorResponse) Reset()
- func (x *GetProviderDescriptorResponse) String() string
- type GetProvidersRequest
- type GetProvidersResponse
- func (*GetProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProvidersResponse) GetProviderNames() []string
- func (*GetProvidersResponse) ProtoMessage()
- func (x *GetProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *GetProvidersResponse) Reset()
- func (x *GetProvidersResponse) String() string
- type GetStatusRequest
- type GetStatusResponse
- func (*GetStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatusResponse) GetAuthenticated() bool
- func (x *GetStatusResponse) GetClaims() *Claims
- func (x *GetStatusResponse) GetClientId() string
- func (x *GetStatusResponse) GetExpiresAtUnix() int64
- func (x *GetStatusResponse) GetIdentityType() string
- func (x *GetStatusResponse) GetLastRefreshUnix() int64
- func (x *GetStatusResponse) GetScopes() []string
- func (x *GetStatusResponse) GetTenantId() string
- func (x *GetStatusResponse) GetTokenFile() string
- func (*GetStatusResponse) ProtoMessage()
- func (x *GetStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetStatusResponse) Reset()
- func (x *GetStatusResponse) String() string
- type GetTokenRequest
- func (*GetTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenRequest) GetForceRefresh() bool
- func (x *GetTokenRequest) GetHandlerName() string
- func (x *GetTokenRequest) GetMinValidForSeconds() int64
- func (x *GetTokenRequest) GetScope() string
- func (*GetTokenRequest) ProtoMessage()
- func (x *GetTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetTokenRequest) Reset()
- func (x *GetTokenRequest) String() string
- type GetTokenResponse
- func (*GetTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTokenResponse) GetAccessToken() string
- func (x *GetTokenResponse) GetCachedAtUnix() int64
- func (x *GetTokenResponse) GetExpiresAtUnix() int64
- func (x *GetTokenResponse) GetFlow() string
- func (x *GetTokenResponse) GetScope() string
- func (x *GetTokenResponse) GetSessionId() string
- func (x *GetTokenResponse) GetTokenType() string
- func (*GetTokenResponse) ProtoMessage()
- func (x *GetTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetTokenResponse) Reset()
- func (x *GetTokenResponse) String() string
- type Link
- type ListCachedTokensRequest
- func (*ListCachedTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCachedTokensRequest) GetHandlerName() string
- func (*ListCachedTokensRequest) ProtoMessage()
- func (x *ListCachedTokensRequest) ProtoReflect() protoreflect.Message
- func (x *ListCachedTokensRequest) Reset()
- func (x *ListCachedTokensRequest) String() string
- type ListCachedTokensResponse
- func (*ListCachedTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCachedTokensResponse) GetTokens() []*CachedTokenInfo
- func (*ListCachedTokensResponse) ProtoMessage()
- func (x *ListCachedTokensResponse) ProtoReflect() protoreflect.Message
- func (x *ListCachedTokensResponse) Reset()
- func (x *ListCachedTokensResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetFlow() string
- func (x *LoginRequest) GetHandlerName() string
- func (x *LoginRequest) GetScopes() []string
- func (x *LoginRequest) GetTenantId() string
- func (x *LoginRequest) GetTimeoutSeconds() int64
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResult
- func (*LoginResult) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResult) GetClaims() *Claims
- func (x *LoginResult) GetExpiresAtUnix() int64
- func (*LoginResult) ProtoMessage()
- func (x *LoginResult) ProtoReflect() protoreflect.Message
- func (x *LoginResult) Reset()
- func (x *LoginResult) String() string
- type LoginStreamMessage
- func (*LoginStreamMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LoginStreamMessage) GetDeviceCodePrompt() *DeviceCodePrompt
- func (x *LoginStreamMessage) GetError() string
- func (x *LoginStreamMessage) GetPayload() isLoginStreamMessage_Payload
- func (x *LoginStreamMessage) GetResult() *LoginResult
- func (*LoginStreamMessage) ProtoMessage()
- func (x *LoginStreamMessage) ProtoReflect() protoreflect.Message
- func (x *LoginStreamMessage) Reset()
- func (x *LoginStreamMessage) String() string
- type LoginStreamMessage_DeviceCodePrompt
- type LoginStreamMessage_Error
- type LoginStreamMessage_Result
- type LogoutRequest
- type LogoutResponse
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)deprecated
- func (x *Parameter) GetDefaultValue() []byte
- func (x *Parameter) GetDescription() string
- func (x *Parameter) GetExample() string
- func (x *Parameter) GetMaxLength() int32
- func (x *Parameter) GetPattern() string
- func (x *Parameter) GetPatternDescription() string
- func (x *Parameter) GetRequired() bool
- func (x *Parameter) GetType() string
- func (*Parameter) ProtoMessage()
- func (x *Parameter) ProtoReflect() protoreflect.Message
- func (x *Parameter) Reset()
- func (x *Parameter) String() string
- type PluginServiceClient
- type PluginServiceServer
- type ProviderDescriptor
- func (*ProviderDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderDescriptor) GetApiVersion() string
- func (x *ProviderDescriptor) GetBeta() bool
- func (x *ProviderDescriptor) GetCapabilities() []string
- func (x *ProviderDescriptor) GetCategory() string
- func (x *ProviderDescriptor) GetDeprecated() bool
- func (x *ProviderDescriptor) GetDescription() string
- func (x *ProviderDescriptor) GetDisplayName() string
- func (x *ProviderDescriptor) GetExamples() []*Example
- func (x *ProviderDescriptor) GetIcon() string
- func (x *ProviderDescriptor) GetLinks() []*Link
- func (x *ProviderDescriptor) GetMaintainers() []*Contact
- func (x *ProviderDescriptor) GetMockBehavior() string
- func (x *ProviderDescriptor) GetName() string
- func (x *ProviderDescriptor) GetOutputSchemas() map[string]*Schema
- func (x *ProviderDescriptor) GetSchema() *Schema
- func (x *ProviderDescriptor) GetSensitiveFields() []string
- func (x *ProviderDescriptor) GetTags() []string
- func (x *ProviderDescriptor) GetVersion() string
- func (*ProviderDescriptor) ProtoMessage()
- func (x *ProviderDescriptor) ProtoReflect() protoreflect.Message
- func (x *ProviderDescriptor) Reset()
- func (x *ProviderDescriptor) String() string
- type PurgeExpiredTokensRequest
- func (*PurgeExpiredTokensRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeExpiredTokensRequest) GetHandlerName() string
- func (*PurgeExpiredTokensRequest) ProtoMessage()
- func (x *PurgeExpiredTokensRequest) ProtoReflect() protoreflect.Message
- func (x *PurgeExpiredTokensRequest) Reset()
- func (x *PurgeExpiredTokensRequest) String() string
- type PurgeExpiredTokensResponse
- func (*PurgeExpiredTokensResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeExpiredTokensResponse) GetPurgedCount() int32
- func (*PurgeExpiredTokensResponse) ProtoMessage()
- func (x *PurgeExpiredTokensResponse) ProtoReflect() protoreflect.Message
- func (x *PurgeExpiredTokensResponse) Reset()
- func (x *PurgeExpiredTokensResponse) String() string
- type Schema
- type UnimplementedAuthHandlerServiceServer
- func (UnimplementedAuthHandlerServiceServer) GetAuthHandlers(context.Context, *GetAuthHandlersRequest) (*GetAuthHandlersResponse, error)
- func (UnimplementedAuthHandlerServiceServer) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
- func (UnimplementedAuthHandlerServiceServer) GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error)
- func (UnimplementedAuthHandlerServiceServer) ListCachedTokens(context.Context, *ListCachedTokensRequest) (*ListCachedTokensResponse, error)
- func (UnimplementedAuthHandlerServiceServer) Login(*LoginRequest, grpc.ServerStreamingServer[LoginStreamMessage]) error
- func (UnimplementedAuthHandlerServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedAuthHandlerServiceServer) PurgeExpiredTokens(context.Context, *PurgeExpiredTokensRequest) (*PurgeExpiredTokensResponse, error)
- type UnimplementedPluginServiceServer
- func (UnimplementedPluginServiceServer) ExecuteProvider(context.Context, *ExecuteProviderRequest) (*ExecuteProviderResponse, error)
- func (UnimplementedPluginServiceServer) GetProviderDescriptor(context.Context, *GetProviderDescriptorRequest) (*GetProviderDescriptorResponse, error)
- func (UnimplementedPluginServiceServer) GetProviders(context.Context, *GetProvidersRequest) (*GetProvidersResponse, error)
- type UnsafeAuthHandlerServiceServer
- type UnsafePluginServiceServer
Constants ¶
const ( PluginService_GetProviders_FullMethodName = "/plugin.PluginService/GetProviders" PluginService_GetProviderDescriptor_FullMethodName = "/plugin.PluginService/GetProviderDescriptor" PluginService_ExecuteProvider_FullMethodName = "/plugin.PluginService/ExecuteProvider" )
const ( AuthHandlerService_GetAuthHandlers_FullMethodName = "/plugin.AuthHandlerService/GetAuthHandlers" AuthHandlerService_Login_FullMethodName = "/plugin.AuthHandlerService/Login" AuthHandlerService_Logout_FullMethodName = "/plugin.AuthHandlerService/Logout" AuthHandlerService_GetStatus_FullMethodName = "/plugin.AuthHandlerService/GetStatus" AuthHandlerService_GetToken_FullMethodName = "/plugin.AuthHandlerService/GetToken" AuthHandlerService_ListCachedTokens_FullMethodName = "/plugin.AuthHandlerService/ListCachedTokens" AuthHandlerService_PurgeExpiredTokens_FullMethodName = "/plugin.AuthHandlerService/PurgeExpiredTokens" )
Variables ¶
var AuthHandlerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugin.AuthHandlerService", HandlerType: (*AuthHandlerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthHandlers", Handler: _AuthHandlerService_GetAuthHandlers_Handler, }, { MethodName: "Logout", Handler: _AuthHandlerService_Logout_Handler, }, { MethodName: "GetStatus", Handler: _AuthHandlerService_GetStatus_Handler, }, { MethodName: "GetToken", Handler: _AuthHandlerService_GetToken_Handler, }, { MethodName: "ListCachedTokens", Handler: _AuthHandlerService_ListCachedTokens_Handler, }, { MethodName: "PurgeExpiredTokens", Handler: _AuthHandlerService_PurgeExpiredTokens_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Login", Handler: _AuthHandlerService_Login_Handler, ServerStreams: true, }, }, Metadata: "plugin.proto", }
AuthHandlerService_ServiceDesc is the grpc.ServiceDesc for AuthHandlerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_plugin_proto protoreflect.FileDescriptor
var PluginService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "plugin.PluginService", HandlerType: (*PluginServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetProviders", Handler: _PluginService_GetProviders_Handler, }, { MethodName: "GetProviderDescriptor", Handler: _PluginService_GetProviderDescriptor_Handler, }, { MethodName: "ExecuteProvider", Handler: _PluginService_ExecuteProvider_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "plugin.proto", }
PluginService_ServiceDesc is the grpc.ServiceDesc for PluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthHandlerServiceServer ¶ added in v0.5.0
func RegisterAuthHandlerServiceServer(s grpc.ServiceRegistrar, srv AuthHandlerServiceServer)
func RegisterPluginServiceServer ¶
func RegisterPluginServiceServer(s grpc.ServiceRegistrar, srv PluginServiceServer)
Types ¶
type AuthHandlerInfo ¶ added in v0.5.0
type AuthHandlerInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Flows []string `protobuf:"bytes,3,rep,name=flows,proto3" json:"flows,omitempty"`
Capabilities []string `protobuf:"bytes,4,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
// contains filtered or unexported fields
}
func (*AuthHandlerInfo) Descriptor
deprecated
added in
v0.5.0
func (*AuthHandlerInfo) Descriptor() ([]byte, []int)
Deprecated: Use AuthHandlerInfo.ProtoReflect.Descriptor instead.
func (*AuthHandlerInfo) GetCapabilities ¶ added in v0.5.0
func (x *AuthHandlerInfo) GetCapabilities() []string
func (*AuthHandlerInfo) GetDisplayName ¶ added in v0.5.0
func (x *AuthHandlerInfo) GetDisplayName() string
func (*AuthHandlerInfo) GetFlows ¶ added in v0.5.0
func (x *AuthHandlerInfo) GetFlows() []string
func (*AuthHandlerInfo) GetName ¶ added in v0.5.0
func (x *AuthHandlerInfo) GetName() string
func (*AuthHandlerInfo) ProtoMessage ¶ added in v0.5.0
func (*AuthHandlerInfo) ProtoMessage()
func (*AuthHandlerInfo) ProtoReflect ¶ added in v0.5.0
func (x *AuthHandlerInfo) ProtoReflect() protoreflect.Message
func (*AuthHandlerInfo) Reset ¶ added in v0.5.0
func (x *AuthHandlerInfo) Reset()
func (*AuthHandlerInfo) String ¶ added in v0.5.0
func (x *AuthHandlerInfo) String() string
type AuthHandlerServiceClient ¶ added in v0.5.0
type AuthHandlerServiceClient interface {
// GetAuthHandlers returns metadata for all auth handlers exposed by this plugin.
GetAuthHandlers(ctx context.Context, in *GetAuthHandlersRequest, opts ...grpc.CallOption) (*GetAuthHandlersResponse, error)
// Login initiates authentication. Returns a stream: zero or more DeviceCodePrompt
// messages followed by exactly one LoginResult message.
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[LoginStreamMessage], error)
// Logout clears stored credentials for the named handler.
Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
// GetStatus returns the current authentication status.
GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error)
// GetToken returns a valid access token.
GetToken(ctx context.Context, in *GetTokenRequest, opts ...grpc.CallOption) (*GetTokenResponse, error)
// ListCachedTokens enumerates cached tokens for the named handler.
ListCachedTokens(ctx context.Context, in *ListCachedTokensRequest, opts ...grpc.CallOption) (*ListCachedTokensResponse, error)
// PurgeExpiredTokens removes expired tokens for the named handler.
PurgeExpiredTokens(ctx context.Context, in *PurgeExpiredTokensRequest, opts ...grpc.CallOption) (*PurgeExpiredTokensResponse, error)
}
AuthHandlerServiceClient is the client API for AuthHandlerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
AuthHandlerService is the auth handler plugin service.
func NewAuthHandlerServiceClient ¶ added in v0.5.0
func NewAuthHandlerServiceClient(cc grpc.ClientConnInterface) AuthHandlerServiceClient
type AuthHandlerServiceServer ¶ added in v0.5.0
type AuthHandlerServiceServer interface {
// GetAuthHandlers returns metadata for all auth handlers exposed by this plugin.
GetAuthHandlers(context.Context, *GetAuthHandlersRequest) (*GetAuthHandlersResponse, error)
// Login initiates authentication. Returns a stream: zero or more DeviceCodePrompt
// messages followed by exactly one LoginResult message.
Login(*LoginRequest, grpc.ServerStreamingServer[LoginStreamMessage]) error
// Logout clears stored credentials for the named handler.
Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
// GetStatus returns the current authentication status.
GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
// GetToken returns a valid access token.
GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error)
// ListCachedTokens enumerates cached tokens for the named handler.
ListCachedTokens(context.Context, *ListCachedTokensRequest) (*ListCachedTokensResponse, error)
// PurgeExpiredTokens removes expired tokens for the named handler.
PurgeExpiredTokens(context.Context, *PurgeExpiredTokensRequest) (*PurgeExpiredTokensResponse, error)
// contains filtered or unexported methods
}
AuthHandlerServiceServer is the server API for AuthHandlerService service. All implementations must embed UnimplementedAuthHandlerServiceServer for forward compatibility.
AuthHandlerService is the auth handler plugin service.
type AuthHandlerService_LoginClient ¶ added in v0.5.0
type AuthHandlerService_LoginClient = grpc.ServerStreamingClient[LoginStreamMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AuthHandlerService_LoginServer ¶ added in v0.5.0
type AuthHandlerService_LoginServer = grpc.ServerStreamingServer[LoginStreamMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type CachedTokenInfo ¶ added in v0.5.0
type CachedTokenInfo struct {
Handler string `protobuf:"bytes,1,opt,name=handler,proto3" json:"handler,omitempty"`
TokenKind string `protobuf:"bytes,2,opt,name=token_kind,json=tokenKind,proto3" json:"token_kind,omitempty"`
Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
TokenType string `protobuf:"bytes,4,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
Flow string `protobuf:"bytes,5,opt,name=flow,proto3" json:"flow,omitempty"`
ExpiresAtUnix int64 `protobuf:"varint,6,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
CachedAtUnix int64 `protobuf:"varint,7,opt,name=cached_at_unix,json=cachedAtUnix,proto3" json:"cached_at_unix,omitempty"`
IsExpired bool `protobuf:"varint,8,opt,name=is_expired,json=isExpired,proto3" json:"is_expired,omitempty"`
SessionId string `protobuf:"bytes,9,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
func (*CachedTokenInfo) Descriptor
deprecated
added in
v0.5.0
func (*CachedTokenInfo) Descriptor() ([]byte, []int)
Deprecated: Use CachedTokenInfo.ProtoReflect.Descriptor instead.
func (*CachedTokenInfo) GetCachedAtUnix ¶ added in v0.5.0
func (x *CachedTokenInfo) GetCachedAtUnix() int64
func (*CachedTokenInfo) GetExpiresAtUnix ¶ added in v0.5.0
func (x *CachedTokenInfo) GetExpiresAtUnix() int64
func (*CachedTokenInfo) GetFlow ¶ added in v0.5.0
func (x *CachedTokenInfo) GetFlow() string
func (*CachedTokenInfo) GetHandler ¶ added in v0.5.0
func (x *CachedTokenInfo) GetHandler() string
func (*CachedTokenInfo) GetIsExpired ¶ added in v0.5.0
func (x *CachedTokenInfo) GetIsExpired() bool
func (*CachedTokenInfo) GetScope ¶ added in v0.5.0
func (x *CachedTokenInfo) GetScope() string
func (*CachedTokenInfo) GetSessionId ¶ added in v0.5.0
func (x *CachedTokenInfo) GetSessionId() string
func (*CachedTokenInfo) GetTokenKind ¶ added in v0.5.0
func (x *CachedTokenInfo) GetTokenKind() string
func (*CachedTokenInfo) GetTokenType ¶ added in v0.5.0
func (x *CachedTokenInfo) GetTokenType() string
func (*CachedTokenInfo) ProtoMessage ¶ added in v0.5.0
func (*CachedTokenInfo) ProtoMessage()
func (*CachedTokenInfo) ProtoReflect ¶ added in v0.5.0
func (x *CachedTokenInfo) ProtoReflect() protoreflect.Message
func (*CachedTokenInfo) Reset ¶ added in v0.5.0
func (x *CachedTokenInfo) Reset()
func (*CachedTokenInfo) String ¶ added in v0.5.0
func (x *CachedTokenInfo) String() string
type Claims ¶ added in v0.5.0
type Claims struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
TenantId string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
ObjectId string `protobuf:"bytes,4,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
ClientId string `protobuf:"bytes,5,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
Username string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"`
IssuedAtUnix int64 `protobuf:"varint,9,opt,name=issued_at_unix,json=issuedAtUnix,proto3" json:"issued_at_unix,omitempty"`
ExpiresAtUnix int64 `protobuf:"varint,10,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
// contains filtered or unexported fields
}
func (*Claims) Descriptor
deprecated
added in
v0.5.0
func (*Claims) GetClientId ¶ added in v0.5.0
func (*Claims) GetExpiresAtUnix ¶ added in v0.5.0
func (*Claims) GetIssuedAtUnix ¶ added in v0.5.0
func (*Claims) GetObjectId ¶ added in v0.5.0
func (*Claims) GetSubject ¶ added in v0.5.0
func (*Claims) GetTenantId ¶ added in v0.5.0
func (*Claims) GetUsername ¶ added in v0.5.0
func (*Claims) ProtoMessage ¶ added in v0.5.0
func (*Claims) ProtoMessage()
func (*Claims) ProtoReflect ¶ added in v0.5.0
func (x *Claims) ProtoReflect() protoreflect.Message
type Contact ¶ added in v0.5.0
type Contact struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
// contains filtered or unexported fields
}
Contact represents maintainer contact information.
func (*Contact) Descriptor
deprecated
added in
v0.5.0
func (*Contact) ProtoMessage ¶ added in v0.5.0
func (*Contact) ProtoMessage()
func (*Contact) ProtoReflect ¶ added in v0.5.0
func (x *Contact) ProtoReflect() protoreflect.Message
type DeviceCodePrompt ¶ added in v0.5.0
type DeviceCodePrompt struct {
UserCode string `protobuf:"bytes,1,opt,name=user_code,json=userCode,proto3" json:"user_code,omitempty"`
VerificationUri string `protobuf:"bytes,2,opt,name=verification_uri,json=verificationUri,proto3" json:"verification_uri,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*DeviceCodePrompt) Descriptor
deprecated
added in
v0.5.0
func (*DeviceCodePrompt) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCodePrompt.ProtoReflect.Descriptor instead.
func (*DeviceCodePrompt) GetMessage ¶ added in v0.5.0
func (x *DeviceCodePrompt) GetMessage() string
func (*DeviceCodePrompt) GetUserCode ¶ added in v0.5.0
func (x *DeviceCodePrompt) GetUserCode() string
func (*DeviceCodePrompt) GetVerificationUri ¶ added in v0.5.0
func (x *DeviceCodePrompt) GetVerificationUri() string
func (*DeviceCodePrompt) ProtoMessage ¶ added in v0.5.0
func (*DeviceCodePrompt) ProtoMessage()
func (*DeviceCodePrompt) ProtoReflect ¶ added in v0.5.0
func (x *DeviceCodePrompt) ProtoReflect() protoreflect.Message
func (*DeviceCodePrompt) Reset ¶ added in v0.5.0
func (x *DeviceCodePrompt) Reset()
func (*DeviceCodePrompt) String ¶ added in v0.5.0
func (x *DeviceCodePrompt) String() string
type Example ¶ added in v0.5.0
type Example struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Yaml string `protobuf:"bytes,3,opt,name=yaml,proto3" json:"yaml,omitempty"`
// contains filtered or unexported fields
}
Example represents a usage example for a provider.
func (*Example) Descriptor
deprecated
added in
v0.5.0
func (*Example) GetDescription ¶ added in v0.5.0
func (*Example) ProtoMessage ¶ added in v0.5.0
func (*Example) ProtoMessage()
func (*Example) ProtoReflect ¶ added in v0.5.0
func (x *Example) ProtoReflect() protoreflect.Message
type ExecuteProviderRequest ¶
type ExecuteProviderRequest struct {
ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
Input []byte `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` // JSON-encoded input map
Context []byte `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // JSON-encoded context data
DryRun bool `protobuf:"varint,4,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
// contains filtered or unexported fields
}
func (*ExecuteProviderRequest) Descriptor
deprecated
func (*ExecuteProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteProviderRequest.ProtoReflect.Descriptor instead.
func (*ExecuteProviderRequest) GetContext ¶
func (x *ExecuteProviderRequest) GetContext() []byte
func (*ExecuteProviderRequest) GetDryRun ¶
func (x *ExecuteProviderRequest) GetDryRun() bool
func (*ExecuteProviderRequest) GetInput ¶
func (x *ExecuteProviderRequest) GetInput() []byte
func (*ExecuteProviderRequest) GetProviderName ¶
func (x *ExecuteProviderRequest) GetProviderName() string
func (*ExecuteProviderRequest) ProtoMessage ¶
func (*ExecuteProviderRequest) ProtoMessage()
func (*ExecuteProviderRequest) ProtoReflect ¶
func (x *ExecuteProviderRequest) ProtoReflect() protoreflect.Message
func (*ExecuteProviderRequest) Reset ¶
func (x *ExecuteProviderRequest) Reset()
func (*ExecuteProviderRequest) String ¶
func (x *ExecuteProviderRequest) String() string
type ExecuteProviderResponse ¶
type ExecuteProviderResponse struct {
Output []byte `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"` // JSON-encoded output (ProviderOutput)
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Empty if no error
// contains filtered or unexported fields
}
func (*ExecuteProviderResponse) Descriptor
deprecated
func (*ExecuteProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteProviderResponse.ProtoReflect.Descriptor instead.
func (*ExecuteProviderResponse) GetError ¶
func (x *ExecuteProviderResponse) GetError() string
func (*ExecuteProviderResponse) GetOutput ¶
func (x *ExecuteProviderResponse) GetOutput() []byte
func (*ExecuteProviderResponse) ProtoMessage ¶
func (*ExecuteProviderResponse) ProtoMessage()
func (*ExecuteProviderResponse) ProtoReflect ¶
func (x *ExecuteProviderResponse) ProtoReflect() protoreflect.Message
func (*ExecuteProviderResponse) Reset ¶
func (x *ExecuteProviderResponse) Reset()
func (*ExecuteProviderResponse) String ¶
func (x *ExecuteProviderResponse) String() string
type GetAuthHandlersRequest ¶ added in v0.5.0
type GetAuthHandlersRequest struct {
// contains filtered or unexported fields
}
func (*GetAuthHandlersRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetAuthHandlersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthHandlersRequest.ProtoReflect.Descriptor instead.
func (*GetAuthHandlersRequest) ProtoMessage ¶ added in v0.5.0
func (*GetAuthHandlersRequest) ProtoMessage()
func (*GetAuthHandlersRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetAuthHandlersRequest) ProtoReflect() protoreflect.Message
func (*GetAuthHandlersRequest) Reset ¶ added in v0.5.0
func (x *GetAuthHandlersRequest) Reset()
func (*GetAuthHandlersRequest) String ¶ added in v0.5.0
func (x *GetAuthHandlersRequest) String() string
type GetAuthHandlersResponse ¶ added in v0.5.0
type GetAuthHandlersResponse struct {
Handlers []*AuthHandlerInfo `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
// contains filtered or unexported fields
}
func (*GetAuthHandlersResponse) Descriptor
deprecated
added in
v0.5.0
func (*GetAuthHandlersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthHandlersResponse.ProtoReflect.Descriptor instead.
func (*GetAuthHandlersResponse) GetHandlers ¶ added in v0.5.0
func (x *GetAuthHandlersResponse) GetHandlers() []*AuthHandlerInfo
func (*GetAuthHandlersResponse) ProtoMessage ¶ added in v0.5.0
func (*GetAuthHandlersResponse) ProtoMessage()
func (*GetAuthHandlersResponse) ProtoReflect ¶ added in v0.5.0
func (x *GetAuthHandlersResponse) ProtoReflect() protoreflect.Message
func (*GetAuthHandlersResponse) Reset ¶ added in v0.5.0
func (x *GetAuthHandlersResponse) Reset()
func (*GetAuthHandlersResponse) String ¶ added in v0.5.0
func (x *GetAuthHandlersResponse) String() string
type GetProviderDescriptorRequest ¶
type GetProviderDescriptorRequest struct {
ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetProviderDescriptorRequest) Descriptor
deprecated
func (*GetProviderDescriptorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderDescriptorRequest.ProtoReflect.Descriptor instead.
func (*GetProviderDescriptorRequest) GetProviderName ¶
func (x *GetProviderDescriptorRequest) GetProviderName() string
func (*GetProviderDescriptorRequest) ProtoMessage ¶
func (*GetProviderDescriptorRequest) ProtoMessage()
func (*GetProviderDescriptorRequest) ProtoReflect ¶
func (x *GetProviderDescriptorRequest) ProtoReflect() protoreflect.Message
func (*GetProviderDescriptorRequest) Reset ¶
func (x *GetProviderDescriptorRequest) Reset()
func (*GetProviderDescriptorRequest) String ¶
func (x *GetProviderDescriptorRequest) String() string
type GetProviderDescriptorResponse ¶
type GetProviderDescriptorResponse struct {
Descriptor_ *ProviderDescriptor `protobuf:"bytes,1,opt,name=descriptor,proto3" json:"descriptor,omitempty"`
// contains filtered or unexported fields
}
func (*GetProviderDescriptorResponse) Descriptor
deprecated
func (*GetProviderDescriptorResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProviderDescriptorResponse.ProtoReflect.Descriptor instead.
func (*GetProviderDescriptorResponse) GetDescriptor_ ¶
func (x *GetProviderDescriptorResponse) GetDescriptor_() *ProviderDescriptor
func (*GetProviderDescriptorResponse) ProtoMessage ¶
func (*GetProviderDescriptorResponse) ProtoMessage()
func (*GetProviderDescriptorResponse) ProtoReflect ¶
func (x *GetProviderDescriptorResponse) ProtoReflect() protoreflect.Message
func (*GetProviderDescriptorResponse) Reset ¶
func (x *GetProviderDescriptorResponse) Reset()
func (*GetProviderDescriptorResponse) String ¶
func (x *GetProviderDescriptorResponse) String() string
type GetProvidersRequest ¶
type GetProvidersRequest struct {
// contains filtered or unexported fields
}
func (*GetProvidersRequest) Descriptor
deprecated
func (*GetProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProvidersRequest.ProtoReflect.Descriptor instead.
func (*GetProvidersRequest) ProtoMessage ¶
func (*GetProvidersRequest) ProtoMessage()
func (*GetProvidersRequest) ProtoReflect ¶
func (x *GetProvidersRequest) ProtoReflect() protoreflect.Message
func (*GetProvidersRequest) Reset ¶
func (x *GetProvidersRequest) Reset()
func (*GetProvidersRequest) String ¶
func (x *GetProvidersRequest) String() string
type GetProvidersResponse ¶
type GetProvidersResponse struct {
ProviderNames []string `protobuf:"bytes,1,rep,name=provider_names,json=providerNames,proto3" json:"provider_names,omitempty"`
// contains filtered or unexported fields
}
func (*GetProvidersResponse) Descriptor
deprecated
func (*GetProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProvidersResponse.ProtoReflect.Descriptor instead.
func (*GetProvidersResponse) GetProviderNames ¶
func (x *GetProvidersResponse) GetProviderNames() []string
func (*GetProvidersResponse) ProtoMessage ¶
func (*GetProvidersResponse) ProtoMessage()
func (*GetProvidersResponse) ProtoReflect ¶
func (x *GetProvidersResponse) ProtoReflect() protoreflect.Message
func (*GetProvidersResponse) Reset ¶
func (x *GetProvidersResponse) Reset()
func (*GetProvidersResponse) String ¶
func (x *GetProvidersResponse) String() string
type GetStatusRequest ¶ added in v0.5.0
type GetStatusRequest struct {
HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
// contains filtered or unexported fields
}
func (*GetStatusRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetStatusRequest.ProtoReflect.Descriptor instead.
func (*GetStatusRequest) GetHandlerName ¶ added in v0.5.0
func (x *GetStatusRequest) GetHandlerName() string
func (*GetStatusRequest) ProtoMessage ¶ added in v0.5.0
func (*GetStatusRequest) ProtoMessage()
func (*GetStatusRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetStatusRequest) ProtoReflect() protoreflect.Message
func (*GetStatusRequest) Reset ¶ added in v0.5.0
func (x *GetStatusRequest) Reset()
func (*GetStatusRequest) String ¶ added in v0.5.0
func (x *GetStatusRequest) String() string
type GetStatusResponse ¶ added in v0.5.0
type GetStatusResponse struct {
Authenticated bool `protobuf:"varint,1,opt,name=authenticated,proto3" json:"authenticated,omitempty"`
Claims *Claims `protobuf:"bytes,2,opt,name=claims,proto3" json:"claims,omitempty"`
ExpiresAtUnix int64 `protobuf:"varint,3,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
LastRefreshUnix int64 `protobuf:"varint,4,opt,name=last_refresh_unix,json=lastRefreshUnix,proto3" json:"last_refresh_unix,omitempty"`
TenantId string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
IdentityType string `protobuf:"bytes,6,opt,name=identity_type,json=identityType,proto3" json:"identity_type,omitempty"`
ClientId string `protobuf:"bytes,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
TokenFile string `protobuf:"bytes,8,opt,name=token_file,json=tokenFile,proto3" json:"token_file,omitempty"`
Scopes []string `protobuf:"bytes,9,rep,name=scopes,proto3" json:"scopes,omitempty"`
// contains filtered or unexported fields
}
func (*GetStatusResponse) Descriptor
deprecated
added in
v0.5.0
func (*GetStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStatusResponse.ProtoReflect.Descriptor instead.
func (*GetStatusResponse) GetAuthenticated ¶ added in v0.5.0
func (x *GetStatusResponse) GetAuthenticated() bool
func (*GetStatusResponse) GetClaims ¶ added in v0.5.0
func (x *GetStatusResponse) GetClaims() *Claims
func (*GetStatusResponse) GetClientId ¶ added in v0.5.0
func (x *GetStatusResponse) GetClientId() string
func (*GetStatusResponse) GetExpiresAtUnix ¶ added in v0.5.0
func (x *GetStatusResponse) GetExpiresAtUnix() int64
func (*GetStatusResponse) GetIdentityType ¶ added in v0.5.0
func (x *GetStatusResponse) GetIdentityType() string
func (*GetStatusResponse) GetLastRefreshUnix ¶ added in v0.5.0
func (x *GetStatusResponse) GetLastRefreshUnix() int64
func (*GetStatusResponse) GetScopes ¶ added in v0.5.0
func (x *GetStatusResponse) GetScopes() []string
func (*GetStatusResponse) GetTenantId ¶ added in v0.5.0
func (x *GetStatusResponse) GetTenantId() string
func (*GetStatusResponse) GetTokenFile ¶ added in v0.5.0
func (x *GetStatusResponse) GetTokenFile() string
func (*GetStatusResponse) ProtoMessage ¶ added in v0.5.0
func (*GetStatusResponse) ProtoMessage()
func (*GetStatusResponse) ProtoReflect ¶ added in v0.5.0
func (x *GetStatusResponse) ProtoReflect() protoreflect.Message
func (*GetStatusResponse) Reset ¶ added in v0.5.0
func (x *GetStatusResponse) Reset()
func (*GetStatusResponse) String ¶ added in v0.5.0
func (x *GetStatusResponse) String() string
type GetTokenRequest ¶ added in v0.5.0
type GetTokenRequest struct {
HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
MinValidForSeconds int64 `protobuf:"varint,3,opt,name=min_valid_for_seconds,json=minValidForSeconds,proto3" json:"min_valid_for_seconds,omitempty"`
ForceRefresh bool `protobuf:"varint,4,opt,name=force_refresh,json=forceRefresh,proto3" json:"force_refresh,omitempty"`
// contains filtered or unexported fields
}
func (*GetTokenRequest) Descriptor
deprecated
added in
v0.5.0
func (*GetTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenRequest.ProtoReflect.Descriptor instead.
func (*GetTokenRequest) GetForceRefresh ¶ added in v0.5.0
func (x *GetTokenRequest) GetForceRefresh() bool
func (*GetTokenRequest) GetHandlerName ¶ added in v0.5.0
func (x *GetTokenRequest) GetHandlerName() string
func (*GetTokenRequest) GetMinValidForSeconds ¶ added in v0.5.0
func (x *GetTokenRequest) GetMinValidForSeconds() int64
func (*GetTokenRequest) GetScope ¶ added in v0.5.0
func (x *GetTokenRequest) GetScope() string
func (*GetTokenRequest) ProtoMessage ¶ added in v0.5.0
func (*GetTokenRequest) ProtoMessage()
func (*GetTokenRequest) ProtoReflect ¶ added in v0.5.0
func (x *GetTokenRequest) ProtoReflect() protoreflect.Message
func (*GetTokenRequest) Reset ¶ added in v0.5.0
func (x *GetTokenRequest) Reset()
func (*GetTokenRequest) String ¶ added in v0.5.0
func (x *GetTokenRequest) String() string
type GetTokenResponse ¶ added in v0.5.0
type GetTokenResponse struct {
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"`
ExpiresAtUnix int64 `protobuf:"varint,3,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"`
Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
CachedAtUnix int64 `protobuf:"varint,5,opt,name=cached_at_unix,json=cachedAtUnix,proto3" json:"cached_at_unix,omitempty"`
Flow string `protobuf:"bytes,6,opt,name=flow,proto3" json:"flow,omitempty"`
SessionId string `protobuf:"bytes,7,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetTokenResponse) Descriptor
deprecated
added in
v0.5.0
func (*GetTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTokenResponse.ProtoReflect.Descriptor instead.
func (*GetTokenResponse) GetAccessToken ¶ added in v0.5.0
func (x *GetTokenResponse) GetAccessToken() string
func (*GetTokenResponse) GetCachedAtUnix ¶ added in v0.5.0
func (x *GetTokenResponse) GetCachedAtUnix() int64
func (*GetTokenResponse) GetExpiresAtUnix ¶ added in v0.5.0
func (x *GetTokenResponse) GetExpiresAtUnix() int64
func (*GetTokenResponse) GetFlow ¶ added in v0.5.0
func (x *GetTokenResponse) GetFlow() string
func (*GetTokenResponse) GetScope ¶ added in v0.5.0
func (x *GetTokenResponse) GetScope() string
func (*GetTokenResponse) GetSessionId ¶ added in v0.5.0
func (x *GetTokenResponse) GetSessionId() string
func (*GetTokenResponse) GetTokenType ¶ added in v0.5.0
func (x *GetTokenResponse) GetTokenType() string
func (*GetTokenResponse) ProtoMessage ¶ added in v0.5.0
func (*GetTokenResponse) ProtoMessage()
func (*GetTokenResponse) ProtoReflect ¶ added in v0.5.0
func (x *GetTokenResponse) ProtoReflect() protoreflect.Message
func (*GetTokenResponse) Reset ¶ added in v0.5.0
func (x *GetTokenResponse) Reset()
func (*GetTokenResponse) String ¶ added in v0.5.0
func (x *GetTokenResponse) String() string
type Link ¶ added in v0.5.0
type Link struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
Link represents a named hyperlink.
func (*Link) Descriptor
deprecated
added in
v0.5.0
func (*Link) ProtoMessage ¶ added in v0.5.0
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶ added in v0.5.0
func (x *Link) ProtoReflect() protoreflect.Message
type ListCachedTokensRequest ¶ added in v0.5.0
type ListCachedTokensRequest struct {
HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
// contains filtered or unexported fields
}
func (*ListCachedTokensRequest) Descriptor
deprecated
added in
v0.5.0
func (*ListCachedTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCachedTokensRequest.ProtoReflect.Descriptor instead.
func (*ListCachedTokensRequest) GetHandlerName ¶ added in v0.5.0
func (x *ListCachedTokensRequest) GetHandlerName() string
func (*ListCachedTokensRequest) ProtoMessage ¶ added in v0.5.0
func (*ListCachedTokensRequest) ProtoMessage()
func (*ListCachedTokensRequest) ProtoReflect ¶ added in v0.5.0
func (x *ListCachedTokensRequest) ProtoReflect() protoreflect.Message
func (*ListCachedTokensRequest) Reset ¶ added in v0.5.0
func (x *ListCachedTokensRequest) Reset()
func (*ListCachedTokensRequest) String ¶ added in v0.5.0
func (x *ListCachedTokensRequest) String() string
type ListCachedTokensResponse ¶ added in v0.5.0
type ListCachedTokensResponse struct {
Tokens []*CachedTokenInfo `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
func (*ListCachedTokensResponse) Descriptor
deprecated
added in
v0.5.0
func (*ListCachedTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCachedTokensResponse.ProtoReflect.Descriptor instead.
func (*ListCachedTokensResponse) GetTokens ¶ added in v0.5.0
func (x *ListCachedTokensResponse) GetTokens() []*CachedTokenInfo
func (*ListCachedTokensResponse) ProtoMessage ¶ added in v0.5.0
func (*ListCachedTokensResponse) ProtoMessage()
func (*ListCachedTokensResponse) ProtoReflect ¶ added in v0.5.0
func (x *ListCachedTokensResponse) ProtoReflect() protoreflect.Message
func (*ListCachedTokensResponse) Reset ¶ added in v0.5.0
func (x *ListCachedTokensResponse) Reset()
func (*ListCachedTokensResponse) String ¶ added in v0.5.0
func (x *ListCachedTokensResponse) String() string
type LoginRequest ¶ added in v0.5.0
type LoginRequest struct {
HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
Scopes []string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty"`
Flow string `protobuf:"bytes,4,opt,name=flow,proto3" json:"flow,omitempty"`
TimeoutSeconds int64 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
// contains filtered or unexported fields
}
func (*LoginRequest) Descriptor
deprecated
added in
v0.5.0
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetFlow ¶ added in v0.5.0
func (x *LoginRequest) GetFlow() string
func (*LoginRequest) GetHandlerName ¶ added in v0.5.0
func (x *LoginRequest) GetHandlerName() string
func (*LoginRequest) GetScopes ¶ added in v0.5.0
func (x *LoginRequest) GetScopes() []string
func (*LoginRequest) GetTenantId ¶ added in v0.5.0
func (x *LoginRequest) GetTenantId() string
func (*LoginRequest) GetTimeoutSeconds ¶ added in v0.5.0
func (x *LoginRequest) GetTimeoutSeconds() int64
func (*LoginRequest) ProtoMessage ¶ added in v0.5.0
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶ added in v0.5.0
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶ added in v0.5.0
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶ added in v0.5.0
func (x *LoginRequest) String() string
type LoginResult ¶ added in v0.5.0
type LoginResult struct {
Claims *Claims `protobuf:"bytes,1,opt,name=claims,proto3" json:"claims,omitempty"`
ExpiresAtUnix int64 `protobuf:"varint,2,opt,name=expires_at_unix,json=expiresAtUnix,proto3" json:"expires_at_unix,omitempty"` // Unix timestamp (seconds)
// contains filtered or unexported fields
}
func (*LoginResult) Descriptor
deprecated
added in
v0.5.0
func (*LoginResult) Descriptor() ([]byte, []int)
Deprecated: Use LoginResult.ProtoReflect.Descriptor instead.
func (*LoginResult) GetClaims ¶ added in v0.5.0
func (x *LoginResult) GetClaims() *Claims
func (*LoginResult) GetExpiresAtUnix ¶ added in v0.5.0
func (x *LoginResult) GetExpiresAtUnix() int64
func (*LoginResult) ProtoMessage ¶ added in v0.5.0
func (*LoginResult) ProtoMessage()
func (*LoginResult) ProtoReflect ¶ added in v0.5.0
func (x *LoginResult) ProtoReflect() protoreflect.Message
func (*LoginResult) Reset ¶ added in v0.5.0
func (x *LoginResult) Reset()
func (*LoginResult) String ¶ added in v0.5.0
func (x *LoginResult) String() string
type LoginStreamMessage ¶ added in v0.5.0
type LoginStreamMessage struct {
// Types that are valid to be assigned to Payload:
//
// *LoginStreamMessage_DeviceCodePrompt
// *LoginStreamMessage_Result
// *LoginStreamMessage_Error
Payload isLoginStreamMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
LoginStreamMessage is sent over the Login server-stream. Exactly one of device_code_prompt or result is set per message.
func (*LoginStreamMessage) Descriptor
deprecated
added in
v0.5.0
func (*LoginStreamMessage) Descriptor() ([]byte, []int)
Deprecated: Use LoginStreamMessage.ProtoReflect.Descriptor instead.
func (*LoginStreamMessage) GetDeviceCodePrompt ¶ added in v0.5.0
func (x *LoginStreamMessage) GetDeviceCodePrompt() *DeviceCodePrompt
func (*LoginStreamMessage) GetError ¶ added in v0.5.0
func (x *LoginStreamMessage) GetError() string
func (*LoginStreamMessage) GetPayload ¶ added in v0.5.0
func (x *LoginStreamMessage) GetPayload() isLoginStreamMessage_Payload
func (*LoginStreamMessage) GetResult ¶ added in v0.5.0
func (x *LoginStreamMessage) GetResult() *LoginResult
func (*LoginStreamMessage) ProtoMessage ¶ added in v0.5.0
func (*LoginStreamMessage) ProtoMessage()
func (*LoginStreamMessage) ProtoReflect ¶ added in v0.5.0
func (x *LoginStreamMessage) ProtoReflect() protoreflect.Message
func (*LoginStreamMessage) Reset ¶ added in v0.5.0
func (x *LoginStreamMessage) Reset()
func (*LoginStreamMessage) String ¶ added in v0.5.0
func (x *LoginStreamMessage) String() string
type LoginStreamMessage_DeviceCodePrompt ¶ added in v0.5.0
type LoginStreamMessage_DeviceCodePrompt struct {
DeviceCodePrompt *DeviceCodePrompt `protobuf:"bytes,1,opt,name=device_code_prompt,json=deviceCodePrompt,proto3,oneof"`
}
type LoginStreamMessage_Error ¶ added in v0.5.0
type LoginStreamMessage_Error struct {
Error string `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}
type LoginStreamMessage_Result ¶ added in v0.5.0
type LoginStreamMessage_Result struct {
Result *LoginResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}
type LogoutRequest ¶ added in v0.5.0
type LogoutRequest struct {
HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
added in
v0.5.0
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) GetHandlerName ¶ added in v0.5.0
func (x *LogoutRequest) GetHandlerName() string
func (*LogoutRequest) ProtoMessage ¶ added in v0.5.0
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶ added in v0.5.0
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶ added in v0.5.0
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶ added in v0.5.0
func (x *LogoutRequest) String() string
type LogoutResponse ¶ added in v0.5.0
type LogoutResponse struct {
// contains filtered or unexported fields
}
func (*LogoutResponse) Descriptor
deprecated
added in
v0.5.0
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) ProtoMessage ¶ added in v0.5.0
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶ added in v0.5.0
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶ added in v0.5.0
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶ added in v0.5.0
func (x *LogoutResponse) String() string
type Parameter ¶
type Parameter struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
DefaultValue []byte `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // JSON-encoded
Example string `protobuf:"bytes,5,opt,name=example,proto3" json:"example,omitempty"`
MaxLength int32 `protobuf:"varint,6,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
Pattern string `protobuf:"bytes,7,opt,name=pattern,proto3" json:"pattern,omitempty"`
PatternDescription string `protobuf:"bytes,8,opt,name=pattern_description,json=patternDescription,proto3" json:"pattern_description,omitempty"`
// contains filtered or unexported fields
}
func (*Parameter) Descriptor
deprecated
func (*Parameter) GetDefaultValue ¶
func (*Parameter) GetDescription ¶
func (*Parameter) GetExample ¶
func (*Parameter) GetMaxLength ¶
func (*Parameter) GetPattern ¶
func (*Parameter) GetPatternDescription ¶
func (*Parameter) GetRequired ¶
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
func (*Parameter) ProtoReflect ¶
func (x *Parameter) ProtoReflect() protoreflect.Message
type PluginServiceClient ¶
type PluginServiceClient interface {
// GetProviders returns all providers exposed by this plugin
GetProviders(ctx context.Context, in *GetProvidersRequest, opts ...grpc.CallOption) (*GetProvidersResponse, error)
// GetProviderDescriptor returns metadata for a specific provider
GetProviderDescriptor(ctx context.Context, in *GetProviderDescriptorRequest, opts ...grpc.CallOption) (*GetProviderDescriptorResponse, error)
// ExecuteProvider executes a provider
ExecuteProvider(ctx context.Context, in *ExecuteProviderRequest, opts ...grpc.CallOption) (*ExecuteProviderResponse, error)
}
PluginServiceClient is the client API for PluginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
PluginService is the provider plugin service.
func NewPluginServiceClient ¶
func NewPluginServiceClient(cc grpc.ClientConnInterface) PluginServiceClient
type PluginServiceServer ¶
type PluginServiceServer interface {
// GetProviders returns all providers exposed by this plugin
GetProviders(context.Context, *GetProvidersRequest) (*GetProvidersResponse, error)
// GetProviderDescriptor returns metadata for a specific provider
GetProviderDescriptor(context.Context, *GetProviderDescriptorRequest) (*GetProviderDescriptorResponse, error)
// ExecuteProvider executes a provider
ExecuteProvider(context.Context, *ExecuteProviderRequest) (*ExecuteProviderResponse, error)
// contains filtered or unexported methods
}
PluginServiceServer is the server API for PluginService service. All implementations must embed UnimplementedPluginServiceServer for forward compatibility.
PluginService is the provider plugin service.
type ProviderDescriptor ¶
type ProviderDescriptor struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
Capabilities []string `protobuf:"bytes,6,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
Schema *Schema `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"`
OutputSchemas map[string]*Schema `` // key is capability string (from, transform, validation, authentication, action)
/* 174-byte string literal not displayed */
ApiVersion string `protobuf:"bytes,9,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
MockBehavior string `protobuf:"bytes,10,opt,name=mock_behavior,json=mockBehavior,proto3" json:"mock_behavior,omitempty"`
SensitiveFields []string `protobuf:"bytes,11,rep,name=sensitive_fields,json=sensitiveFields,proto3" json:"sensitive_fields,omitempty"`
Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
Icon string `protobuf:"bytes,13,opt,name=icon,proto3" json:"icon,omitempty"`
Links []*Link `protobuf:"bytes,14,rep,name=links,proto3" json:"links,omitempty"`
Examples []*Example `protobuf:"bytes,15,rep,name=examples,proto3" json:"examples,omitempty"`
Maintainers []*Contact `protobuf:"bytes,16,rep,name=maintainers,proto3" json:"maintainers,omitempty"`
Deprecated bool `protobuf:"varint,17,opt,name=deprecated,proto3" json:"deprecated,omitempty"`
Beta bool `protobuf:"varint,18,opt,name=beta,proto3" json:"beta,omitempty"`
// contains filtered or unexported fields
}
func (*ProviderDescriptor) Descriptor
deprecated
func (*ProviderDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use ProviderDescriptor.ProtoReflect.Descriptor instead.
func (*ProviderDescriptor) GetApiVersion ¶ added in v0.5.0
func (x *ProviderDescriptor) GetApiVersion() string
func (*ProviderDescriptor) GetBeta ¶ added in v0.5.0
func (x *ProviderDescriptor) GetBeta() bool
func (*ProviderDescriptor) GetCapabilities ¶
func (x *ProviderDescriptor) GetCapabilities() []string
func (*ProviderDescriptor) GetCategory ¶
func (x *ProviderDescriptor) GetCategory() string
func (*ProviderDescriptor) GetDeprecated ¶ added in v0.5.0
func (x *ProviderDescriptor) GetDeprecated() bool
func (*ProviderDescriptor) GetDescription ¶
func (x *ProviderDescriptor) GetDescription() string
func (*ProviderDescriptor) GetDisplayName ¶
func (x *ProviderDescriptor) GetDisplayName() string
func (*ProviderDescriptor) GetExamples ¶ added in v0.5.0
func (x *ProviderDescriptor) GetExamples() []*Example
func (*ProviderDescriptor) GetIcon ¶ added in v0.5.0
func (x *ProviderDescriptor) GetIcon() string
func (*ProviderDescriptor) GetLinks ¶ added in v0.5.0
func (x *ProviderDescriptor) GetLinks() []*Link
func (*ProviderDescriptor) GetMaintainers ¶ added in v0.5.0
func (x *ProviderDescriptor) GetMaintainers() []*Contact
func (*ProviderDescriptor) GetMockBehavior ¶ added in v0.5.0
func (x *ProviderDescriptor) GetMockBehavior() string
func (*ProviderDescriptor) GetName ¶
func (x *ProviderDescriptor) GetName() string
func (*ProviderDescriptor) GetOutputSchemas ¶
func (x *ProviderDescriptor) GetOutputSchemas() map[string]*Schema
func (*ProviderDescriptor) GetSchema ¶
func (x *ProviderDescriptor) GetSchema() *Schema
func (*ProviderDescriptor) GetSensitiveFields ¶ added in v0.5.0
func (x *ProviderDescriptor) GetSensitiveFields() []string
func (*ProviderDescriptor) GetTags ¶ added in v0.5.0
func (x *ProviderDescriptor) GetTags() []string
func (*ProviderDescriptor) GetVersion ¶
func (x *ProviderDescriptor) GetVersion() string
func (*ProviderDescriptor) ProtoMessage ¶
func (*ProviderDescriptor) ProtoMessage()
func (*ProviderDescriptor) ProtoReflect ¶
func (x *ProviderDescriptor) ProtoReflect() protoreflect.Message
func (*ProviderDescriptor) Reset ¶
func (x *ProviderDescriptor) Reset()
func (*ProviderDescriptor) String ¶
func (x *ProviderDescriptor) String() string
type PurgeExpiredTokensRequest ¶ added in v0.5.0
type PurgeExpiredTokensRequest struct {
HandlerName string `protobuf:"bytes,1,opt,name=handler_name,json=handlerName,proto3" json:"handler_name,omitempty"`
// contains filtered or unexported fields
}
func (*PurgeExpiredTokensRequest) Descriptor
deprecated
added in
v0.5.0
func (*PurgeExpiredTokensRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeExpiredTokensRequest.ProtoReflect.Descriptor instead.
func (*PurgeExpiredTokensRequest) GetHandlerName ¶ added in v0.5.0
func (x *PurgeExpiredTokensRequest) GetHandlerName() string
func (*PurgeExpiredTokensRequest) ProtoMessage ¶ added in v0.5.0
func (*PurgeExpiredTokensRequest) ProtoMessage()
func (*PurgeExpiredTokensRequest) ProtoReflect ¶ added in v0.5.0
func (x *PurgeExpiredTokensRequest) ProtoReflect() protoreflect.Message
func (*PurgeExpiredTokensRequest) Reset ¶ added in v0.5.0
func (x *PurgeExpiredTokensRequest) Reset()
func (*PurgeExpiredTokensRequest) String ¶ added in v0.5.0
func (x *PurgeExpiredTokensRequest) String() string
type PurgeExpiredTokensResponse ¶ added in v0.5.0
type PurgeExpiredTokensResponse struct {
PurgedCount int32 `protobuf:"varint,1,opt,name=purged_count,json=purgedCount,proto3" json:"purged_count,omitempty"`
// contains filtered or unexported fields
}
func (*PurgeExpiredTokensResponse) Descriptor
deprecated
added in
v0.5.0
func (*PurgeExpiredTokensResponse) Descriptor() ([]byte, []int)
Deprecated: Use PurgeExpiredTokensResponse.ProtoReflect.Descriptor instead.
func (*PurgeExpiredTokensResponse) GetPurgedCount ¶ added in v0.5.0
func (x *PurgeExpiredTokensResponse) GetPurgedCount() int32
func (*PurgeExpiredTokensResponse) ProtoMessage ¶ added in v0.5.0
func (*PurgeExpiredTokensResponse) ProtoMessage()
func (*PurgeExpiredTokensResponse) ProtoReflect ¶ added in v0.5.0
func (x *PurgeExpiredTokensResponse) ProtoReflect() protoreflect.Message
func (*PurgeExpiredTokensResponse) Reset ¶ added in v0.5.0
func (x *PurgeExpiredTokensResponse) Reset()
func (*PurgeExpiredTokensResponse) String ¶ added in v0.5.0
func (x *PurgeExpiredTokensResponse) String() string
type Schema ¶
type Schema struct {
Parameters map[string]*Parameter `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Schema) Descriptor
deprecated
func (*Schema) GetParameters ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type UnimplementedAuthHandlerServiceServer ¶ added in v0.5.0
type UnimplementedAuthHandlerServiceServer struct{}
UnimplementedAuthHandlerServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAuthHandlerServiceServer) GetAuthHandlers ¶ added in v0.5.0
func (UnimplementedAuthHandlerServiceServer) GetAuthHandlers(context.Context, *GetAuthHandlersRequest) (*GetAuthHandlersResponse, error)
func (UnimplementedAuthHandlerServiceServer) GetStatus ¶ added in v0.5.0
func (UnimplementedAuthHandlerServiceServer) GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error)
func (UnimplementedAuthHandlerServiceServer) GetToken ¶ added in v0.5.0
func (UnimplementedAuthHandlerServiceServer) GetToken(context.Context, *GetTokenRequest) (*GetTokenResponse, error)
func (UnimplementedAuthHandlerServiceServer) ListCachedTokens ¶ added in v0.5.0
func (UnimplementedAuthHandlerServiceServer) ListCachedTokens(context.Context, *ListCachedTokensRequest) (*ListCachedTokensResponse, error)
func (UnimplementedAuthHandlerServiceServer) Logout ¶ added in v0.5.0
func (UnimplementedAuthHandlerServiceServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedAuthHandlerServiceServer) PurgeExpiredTokens ¶ added in v0.5.0
func (UnimplementedAuthHandlerServiceServer) PurgeExpiredTokens(context.Context, *PurgeExpiredTokensRequest) (*PurgeExpiredTokensResponse, error)
type UnimplementedPluginServiceServer ¶
type UnimplementedPluginServiceServer struct{}
UnimplementedPluginServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPluginServiceServer) ExecuteProvider ¶
func (UnimplementedPluginServiceServer) ExecuteProvider(context.Context, *ExecuteProviderRequest) (*ExecuteProviderResponse, error)
func (UnimplementedPluginServiceServer) GetProviderDescriptor ¶
func (UnimplementedPluginServiceServer) GetProviderDescriptor(context.Context, *GetProviderDescriptorRequest) (*GetProviderDescriptorResponse, error)
func (UnimplementedPluginServiceServer) GetProviders ¶
func (UnimplementedPluginServiceServer) GetProviders(context.Context, *GetProvidersRequest) (*GetProvidersResponse, error)
type UnsafeAuthHandlerServiceServer ¶ added in v0.5.0
type UnsafeAuthHandlerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthHandlerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthHandlerServiceServer will result in compilation errors.
type UnsafePluginServiceServer ¶
type UnsafePluginServiceServer interface {
// contains filtered or unexported methods
}
UnsafePluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServiceServer will result in compilation errors.