Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAuthenticationMethodGithubServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodGithubServiceServer)
- func RegisterAuthenticationMethodKubernetesServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodKubernetesServiceServer)
- func RegisterAuthenticationMethodOIDCServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodOIDCServiceServer)
- func RegisterAuthenticationMethodTokenServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodTokenServiceServer)
- func RegisterAuthenticationServiceServer(s grpc.ServiceRegistrar, srv AuthenticationServiceServer)
- func RegisterPublicAuthenticationServiceServer(s grpc.ServiceRegistrar, srv PublicAuthenticationServiceServer)
- type Authentication
- func (*Authentication) Descriptor() ([]byte, []int)deprecated
- func (x *Authentication) GetCreatedAt() *timestamppb.Timestamp
- func (x *Authentication) GetExpiresAt() *timestamppb.Timestamp
- func (x *Authentication) GetId() string
- func (x *Authentication) GetMetadata() map[string]string
- func (x *Authentication) GetMethod() Method
- func (x *Authentication) GetUpdatedAt() *timestamppb.Timestamp
- func (*Authentication) ProtoMessage()
- func (x *Authentication) ProtoReflect() protoreflect.Message
- func (x *Authentication) Reset()
- func (x *Authentication) String() string
- type AuthenticationMethodGithubServiceClient
- type AuthenticationMethodGithubServiceServer
- type AuthenticationMethodKubernetesServiceClient
- type AuthenticationMethodKubernetesServiceServer
- type AuthenticationMethodOIDCServiceClient
- type AuthenticationMethodOIDCServiceServer
- type AuthenticationMethodTokenServiceClient
- type AuthenticationMethodTokenServiceServer
- type AuthenticationServiceClient
- type AuthenticationServiceServer
- type AuthorizeURLRequest
- func (*AuthorizeURLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeURLRequest) GetProvider() string
- func (x *AuthorizeURLRequest) GetState() string
- func (*AuthorizeURLRequest) ProtoMessage()
- func (x *AuthorizeURLRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeURLRequest) Reset()
- func (x *AuthorizeURLRequest) String() string
- type AuthorizeURLResponse
- func (*AuthorizeURLResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeURLResponse) GetAuthorizeUrl() string
- func (*AuthorizeURLResponse) ProtoMessage()
- func (x *AuthorizeURLResponse) ProtoReflect() protoreflect.Message
- func (x *AuthorizeURLResponse) Reset()
- func (x *AuthorizeURLResponse) String() string
- type CallbackRequest
- func (*CallbackRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackRequest) GetCode() string
- func (x *CallbackRequest) GetProvider() string
- func (x *CallbackRequest) GetState() string
- func (*CallbackRequest) ProtoMessage()
- func (x *CallbackRequest) ProtoReflect() protoreflect.Message
- func (x *CallbackRequest) Reset()
- func (x *CallbackRequest) String() string
- type CallbackResponse
- func (*CallbackResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallbackResponse) GetAuthentication() *Authentication
- func (x *CallbackResponse) GetClientToken() string
- func (*CallbackResponse) ProtoMessage()
- func (x *CallbackResponse) ProtoReflect() protoreflect.Message
- func (x *CallbackResponse) Reset()
- func (x *CallbackResponse) String() string
- type CreateTokenRequest
- func (*CreateTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTokenRequest) GetDescription() string
- func (x *CreateTokenRequest) GetExpiresAt() *timestamppb.Timestamp
- func (x *CreateTokenRequest) GetName() string
- func (x *CreateTokenRequest) GetNamespaceKey() string
- func (*CreateTokenRequest) ProtoMessage()
- func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTokenRequest) Reset()
- func (x *CreateTokenRequest) String() string
- type CreateTokenResponse
- func (*CreateTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTokenResponse) GetAuthentication() *Authentication
- func (x *CreateTokenResponse) GetClientToken() string
- func (*CreateTokenResponse) ProtoMessage()
- func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTokenResponse) Reset()
- func (x *CreateTokenResponse) String() string
- type DeleteAuthenticationRequest
- func (*DeleteAuthenticationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAuthenticationRequest) GetId() string
- func (*DeleteAuthenticationRequest) ProtoMessage()
- func (x *DeleteAuthenticationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAuthenticationRequest) Reset()
- func (x *DeleteAuthenticationRequest) String() string
- type ExpireAuthenticationSelfRequest
- func (*ExpireAuthenticationSelfRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpireAuthenticationSelfRequest) GetExpiresAt() *timestamppb.Timestamp
- func (*ExpireAuthenticationSelfRequest) ProtoMessage()
- func (x *ExpireAuthenticationSelfRequest) ProtoReflect() protoreflect.Message
- func (x *ExpireAuthenticationSelfRequest) Reset()
- func (x *ExpireAuthenticationSelfRequest) String() string
- type GetAuthenticationRequest
- func (*GetAuthenticationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAuthenticationRequest) GetId() string
- func (*GetAuthenticationRequest) ProtoMessage()
- func (x *GetAuthenticationRequest) ProtoReflect() protoreflect.Message
- func (x *GetAuthenticationRequest) Reset()
- func (x *GetAuthenticationRequest) String() string
- type ListAuthenticationMethodsResponse
- func (*ListAuthenticationMethodsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthenticationMethodsResponse) GetMethods() []*MethodInfo
- func (*ListAuthenticationMethodsResponse) ProtoMessage()
- func (x *ListAuthenticationMethodsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAuthenticationMethodsResponse) Reset()
- func (x *ListAuthenticationMethodsResponse) String() string
- type ListAuthenticationsRequest
- func (*ListAuthenticationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthenticationsRequest) GetLimit() int32
- func (x *ListAuthenticationsRequest) GetMethod() Method
- func (x *ListAuthenticationsRequest) GetPageToken() string
- func (*ListAuthenticationsRequest) ProtoMessage()
- func (x *ListAuthenticationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuthenticationsRequest) Reset()
- func (x *ListAuthenticationsRequest) String() string
- type ListAuthenticationsResponse
- func (*ListAuthenticationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthenticationsResponse) GetAuthentications() []*Authentication
- func (x *ListAuthenticationsResponse) GetNextPageToken() string
- func (*ListAuthenticationsResponse) ProtoMessage()
- func (x *ListAuthenticationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAuthenticationsResponse) Reset()
- func (x *ListAuthenticationsResponse) String() string
- type Method
- type MethodInfo
- func (*MethodInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MethodInfo) GetEnabled() bool
- func (x *MethodInfo) GetMetadata() *structpb.Struct
- func (x *MethodInfo) GetMethod() Method
- func (x *MethodInfo) GetSessionCompatible() bool
- func (*MethodInfo) ProtoMessage()
- func (x *MethodInfo) ProtoReflect() protoreflect.Message
- func (x *MethodInfo) Reset()
- func (x *MethodInfo) String() string
- type PublicAuthenticationServiceClient
- type PublicAuthenticationServiceServer
- type UnimplementedAuthenticationMethodGithubServiceServer
- type UnimplementedAuthenticationMethodKubernetesServiceServer
- type UnimplementedAuthenticationMethodOIDCServiceServer
- type UnimplementedAuthenticationMethodTokenServiceServer
- type UnimplementedAuthenticationServiceServer
- func (UnimplementedAuthenticationServiceServer) DeleteAuthentication(context.Context, *DeleteAuthenticationRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthenticationServiceServer) ExpireAuthenticationSelf(context.Context, *ExpireAuthenticationSelfRequest) (*emptypb.Empty, error)
- func (UnimplementedAuthenticationServiceServer) GetAuthentication(context.Context, *GetAuthenticationRequest) (*Authentication, error)
- func (UnimplementedAuthenticationServiceServer) GetAuthenticationSelf(context.Context, *emptypb.Empty) (*Authentication, error)
- func (UnimplementedAuthenticationServiceServer) ListAuthentications(context.Context, *ListAuthenticationsRequest) (*ListAuthenticationsResponse, error)
- type UnimplementedPublicAuthenticationServiceServer
- type UnsafeAuthenticationMethodGithubServiceServer
- type UnsafeAuthenticationMethodKubernetesServiceServer
- type UnsafeAuthenticationMethodOIDCServiceServer
- type UnsafeAuthenticationMethodTokenServiceServer
- type UnsafeAuthenticationServiceServer
- type UnsafePublicAuthenticationServiceServer
- type VerifyServiceAccountRequest
- func (*VerifyServiceAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyServiceAccountRequest) GetServiceAccountToken() string
- func (*VerifyServiceAccountRequest) ProtoMessage()
- func (x *VerifyServiceAccountRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyServiceAccountRequest) Reset()
- func (x *VerifyServiceAccountRequest) String() string
- type VerifyServiceAccountResponse
- func (*VerifyServiceAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyServiceAccountResponse) GetAuthentication() *Authentication
- func (x *VerifyServiceAccountResponse) GetClientToken() string
- func (*VerifyServiceAccountResponse) ProtoMessage()
- func (x *VerifyServiceAccountResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyServiceAccountResponse) Reset()
- func (x *VerifyServiceAccountResponse) String() string
Constants ¶
const ( AuthenticationService_GetAuthenticationSelf_FullMethodName = "/flipt.auth.AuthenticationService/GetAuthenticationSelf" AuthenticationService_GetAuthentication_FullMethodName = "/flipt.auth.AuthenticationService/GetAuthentication" AuthenticationService_ListAuthentications_FullMethodName = "/flipt.auth.AuthenticationService/ListAuthentications" AuthenticationService_DeleteAuthentication_FullMethodName = "/flipt.auth.AuthenticationService/DeleteAuthentication" AuthenticationService_ExpireAuthenticationSelf_FullMethodName = "/flipt.auth.AuthenticationService/ExpireAuthenticationSelf" )
const ( AuthenticationMethodOIDCService_AuthorizeURL_FullMethodName = "/flipt.auth.AuthenticationMethodOIDCService/AuthorizeURL" AuthenticationMethodOIDCService_Callback_FullMethodName = "/flipt.auth.AuthenticationMethodOIDCService/Callback" )
const ( AuthenticationMethodGithubService_AuthorizeURL_FullMethodName = "/flipt.auth.AuthenticationMethodGithubService/AuthorizeURL" AuthenticationMethodGithubService_Callback_FullMethodName = "/flipt.auth.AuthenticationMethodGithubService/Callback" )
const (
AuthenticationMethodKubernetesService_VerifyServiceAccount_FullMethodName = "/flipt.auth.AuthenticationMethodKubernetesService/VerifyServiceAccount"
)
const (
AuthenticationMethodTokenService_CreateToken_FullMethodName = "/flipt.auth.AuthenticationMethodTokenService/CreateToken"
)
const (
PublicAuthenticationService_ListAuthenticationMethods_FullMethodName = "/flipt.auth.PublicAuthenticationService/ListAuthenticationMethods"
)
Variables ¶
var ( Method_name = map[int32]string{ 0: "METHOD_NONE", 1: "METHOD_TOKEN", 2: "METHOD_OIDC", 3: "METHOD_KUBERNETES", 4: "METHOD_GITHUB", 5: "METHOD_JWT", } Method_value = map[string]int32{ "METHOD_NONE": 0, "METHOD_TOKEN": 1, "METHOD_OIDC": 2, "METHOD_KUBERNETES": 3, "METHOD_GITHUB": 4, "METHOD_JWT": 5, } )
Enum value maps for Method.
var AuthenticationMethodGithubService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.auth.AuthenticationMethodGithubService", HandlerType: (*AuthenticationMethodGithubServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuthorizeURL", Handler: _AuthenticationMethodGithubService_AuthorizeURL_Handler, }, { MethodName: "Callback", Handler: _AuthenticationMethodGithubService_Callback_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
AuthenticationMethodGithubService_ServiceDesc is the grpc.ServiceDesc for AuthenticationMethodGithubService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthenticationMethodKubernetesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.auth.AuthenticationMethodKubernetesService", HandlerType: (*AuthenticationMethodKubernetesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "VerifyServiceAccount", Handler: _AuthenticationMethodKubernetesService_VerifyServiceAccount_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
AuthenticationMethodKubernetesService_ServiceDesc is the grpc.ServiceDesc for AuthenticationMethodKubernetesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthenticationMethodOIDCService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.auth.AuthenticationMethodOIDCService", HandlerType: (*AuthenticationMethodOIDCServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuthorizeURL", Handler: _AuthenticationMethodOIDCService_AuthorizeURL_Handler, }, { MethodName: "Callback", Handler: _AuthenticationMethodOIDCService_Callback_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
AuthenticationMethodOIDCService_ServiceDesc is the grpc.ServiceDesc for AuthenticationMethodOIDCService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthenticationMethodTokenService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.auth.AuthenticationMethodTokenService", HandlerType: (*AuthenticationMethodTokenServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateToken", Handler: _AuthenticationMethodTokenService_CreateToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
AuthenticationMethodTokenService_ServiceDesc is the grpc.ServiceDesc for AuthenticationMethodTokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthenticationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.auth.AuthenticationService", HandlerType: (*AuthenticationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAuthenticationSelf", Handler: _AuthenticationService_GetAuthenticationSelf_Handler, }, { MethodName: "GetAuthentication", Handler: _AuthenticationService_GetAuthentication_Handler, }, { MethodName: "ListAuthentications", Handler: _AuthenticationService_ListAuthentications_Handler, }, { MethodName: "DeleteAuthentication", Handler: _AuthenticationService_DeleteAuthentication_Handler, }, { MethodName: "ExpireAuthenticationSelf", Handler: _AuthenticationService_ExpireAuthenticationSelf_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
AuthenticationService_ServiceDesc is the grpc.ServiceDesc for AuthenticationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_auth_auth_proto protoreflect.FileDescriptor
var PublicAuthenticationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "flipt.auth.PublicAuthenticationService", HandlerType: (*PublicAuthenticationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAuthenticationMethods", Handler: _PublicAuthenticationService_ListAuthenticationMethods_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", }
PublicAuthenticationService_ServiceDesc is the grpc.ServiceDesc for PublicAuthenticationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthenticationMethodGithubServiceServer ¶ added in v1.8.0
func RegisterAuthenticationMethodGithubServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodGithubServiceServer)
func RegisterAuthenticationMethodKubernetesServiceServer ¶ added in v1.5.0
func RegisterAuthenticationMethodKubernetesServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodKubernetesServiceServer)
func RegisterAuthenticationMethodOIDCServiceServer ¶ added in v1.4.0
func RegisterAuthenticationMethodOIDCServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodOIDCServiceServer)
func RegisterAuthenticationMethodTokenServiceServer ¶
func RegisterAuthenticationMethodTokenServiceServer(s grpc.ServiceRegistrar, srv AuthenticationMethodTokenServiceServer)
func RegisterAuthenticationServiceServer ¶
func RegisterAuthenticationServiceServer(s grpc.ServiceRegistrar, srv AuthenticationServiceServer)
func RegisterPublicAuthenticationServiceServer ¶ added in v1.4.0
func RegisterPublicAuthenticationServiceServer(s grpc.ServiceRegistrar, srv PublicAuthenticationServiceServer)
Types ¶
type Authentication ¶
type Authentication struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Method Method `protobuf:"varint,2,opt,name=method,proto3,enum=flipt.auth.Method" json:"method,omitempty"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Authentication) Descriptor
deprecated
func (*Authentication) Descriptor() ([]byte, []int)
Deprecated: Use Authentication.ProtoReflect.Descriptor instead.
func (*Authentication) GetCreatedAt ¶
func (x *Authentication) GetCreatedAt() *timestamppb.Timestamp
func (*Authentication) GetExpiresAt ¶
func (x *Authentication) GetExpiresAt() *timestamppb.Timestamp
func (*Authentication) GetId ¶
func (x *Authentication) GetId() string
func (*Authentication) GetMetadata ¶
func (x *Authentication) GetMetadata() map[string]string
func (*Authentication) GetMethod ¶
func (x *Authentication) GetMethod() Method
func (*Authentication) GetUpdatedAt ¶
func (x *Authentication) GetUpdatedAt() *timestamppb.Timestamp
func (*Authentication) ProtoMessage ¶
func (*Authentication) ProtoMessage()
func (*Authentication) ProtoReflect ¶
func (x *Authentication) ProtoReflect() protoreflect.Message
func (*Authentication) Reset ¶
func (x *Authentication) Reset()
func (*Authentication) String ¶
func (x *Authentication) String() string
type AuthenticationMethodGithubServiceClient ¶ added in v1.8.0
type AuthenticationMethodGithubServiceClient interface { AuthorizeURL(ctx context.Context, in *AuthorizeURLRequest, opts ...grpc.CallOption) (*AuthorizeURLResponse, error) Callback(ctx context.Context, in *CallbackRequest, opts ...grpc.CallOption) (*CallbackResponse, error) }
AuthenticationMethodGithubServiceClient is the client API for AuthenticationMethodGithubService 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.
func NewAuthenticationMethodGithubServiceClient ¶ added in v1.8.0
func NewAuthenticationMethodGithubServiceClient(cc grpc.ClientConnInterface) AuthenticationMethodGithubServiceClient
type AuthenticationMethodGithubServiceServer ¶ added in v1.8.0
type AuthenticationMethodGithubServiceServer interface { AuthorizeURL(context.Context, *AuthorizeURLRequest) (*AuthorizeURLResponse, error) Callback(context.Context, *CallbackRequest) (*CallbackResponse, error) // contains filtered or unexported methods }
AuthenticationMethodGithubServiceServer is the server API for AuthenticationMethodGithubService service. All implementations must embed UnimplementedAuthenticationMethodGithubServiceServer for forward compatibility
type AuthenticationMethodKubernetesServiceClient ¶ added in v1.5.0
type AuthenticationMethodKubernetesServiceClient interface {
VerifyServiceAccount(ctx context.Context, in *VerifyServiceAccountRequest, opts ...grpc.CallOption) (*VerifyServiceAccountResponse, error)
}
AuthenticationMethodKubernetesServiceClient is the client API for AuthenticationMethodKubernetesService 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.
func NewAuthenticationMethodKubernetesServiceClient ¶ added in v1.5.0
func NewAuthenticationMethodKubernetesServiceClient(cc grpc.ClientConnInterface) AuthenticationMethodKubernetesServiceClient
type AuthenticationMethodKubernetesServiceServer ¶ added in v1.5.0
type AuthenticationMethodKubernetesServiceServer interface { VerifyServiceAccount(context.Context, *VerifyServiceAccountRequest) (*VerifyServiceAccountResponse, error) // contains filtered or unexported methods }
AuthenticationMethodKubernetesServiceServer is the server API for AuthenticationMethodKubernetesService service. All implementations must embed UnimplementedAuthenticationMethodKubernetesServiceServer for forward compatibility
type AuthenticationMethodOIDCServiceClient ¶ added in v1.4.0
type AuthenticationMethodOIDCServiceClient interface { AuthorizeURL(ctx context.Context, in *AuthorizeURLRequest, opts ...grpc.CallOption) (*AuthorizeURLResponse, error) Callback(ctx context.Context, in *CallbackRequest, opts ...grpc.CallOption) (*CallbackResponse, error) }
AuthenticationMethodOIDCServiceClient is the client API for AuthenticationMethodOIDCService 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.
func NewAuthenticationMethodOIDCServiceClient ¶ added in v1.4.0
func NewAuthenticationMethodOIDCServiceClient(cc grpc.ClientConnInterface) AuthenticationMethodOIDCServiceClient
type AuthenticationMethodOIDCServiceServer ¶ added in v1.4.0
type AuthenticationMethodOIDCServiceServer interface { AuthorizeURL(context.Context, *AuthorizeURLRequest) (*AuthorizeURLResponse, error) Callback(context.Context, *CallbackRequest) (*CallbackResponse, error) // contains filtered or unexported methods }
AuthenticationMethodOIDCServiceServer is the server API for AuthenticationMethodOIDCService service. All implementations must embed UnimplementedAuthenticationMethodOIDCServiceServer for forward compatibility
type AuthenticationMethodTokenServiceClient ¶
type AuthenticationMethodTokenServiceClient interface {
CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error)
}
AuthenticationMethodTokenServiceClient is the client API for AuthenticationMethodTokenService 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.
func NewAuthenticationMethodTokenServiceClient ¶
func NewAuthenticationMethodTokenServiceClient(cc grpc.ClientConnInterface) AuthenticationMethodTokenServiceClient
type AuthenticationMethodTokenServiceServer ¶
type AuthenticationMethodTokenServiceServer interface { CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) // contains filtered or unexported methods }
AuthenticationMethodTokenServiceServer is the server API for AuthenticationMethodTokenService service. All implementations must embed UnimplementedAuthenticationMethodTokenServiceServer for forward compatibility
type AuthenticationServiceClient ¶
type AuthenticationServiceClient interface { GetAuthenticationSelf(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Authentication, error) GetAuthentication(ctx context.Context, in *GetAuthenticationRequest, opts ...grpc.CallOption) (*Authentication, error) ListAuthentications(ctx context.Context, in *ListAuthenticationsRequest, opts ...grpc.CallOption) (*ListAuthenticationsResponse, error) DeleteAuthentication(ctx context.Context, in *DeleteAuthenticationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) ExpireAuthenticationSelf(ctx context.Context, in *ExpireAuthenticationSelfRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AuthenticationServiceClient is the client API for AuthenticationService 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.
func NewAuthenticationServiceClient ¶
func NewAuthenticationServiceClient(cc grpc.ClientConnInterface) AuthenticationServiceClient
type AuthenticationServiceServer ¶
type AuthenticationServiceServer interface { GetAuthenticationSelf(context.Context, *emptypb.Empty) (*Authentication, error) GetAuthentication(context.Context, *GetAuthenticationRequest) (*Authentication, error) ListAuthentications(context.Context, *ListAuthenticationsRequest) (*ListAuthenticationsResponse, error) DeleteAuthentication(context.Context, *DeleteAuthenticationRequest) (*emptypb.Empty, error) ExpireAuthenticationSelf(context.Context, *ExpireAuthenticationSelfRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
AuthenticationServiceServer is the server API for AuthenticationService service. All implementations must embed UnimplementedAuthenticationServiceServer for forward compatibility
type AuthorizeURLRequest ¶ added in v1.4.0
type AuthorizeURLRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeURLRequest) Descriptor
deprecated
added in
v1.4.0
func (*AuthorizeURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeURLRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeURLRequest) GetProvider ¶ added in v1.4.0
func (x *AuthorizeURLRequest) GetProvider() string
func (*AuthorizeURLRequest) GetState ¶ added in v1.4.0
func (x *AuthorizeURLRequest) GetState() string
func (*AuthorizeURLRequest) ProtoMessage ¶ added in v1.4.0
func (*AuthorizeURLRequest) ProtoMessage()
func (*AuthorizeURLRequest) ProtoReflect ¶ added in v1.4.0
func (x *AuthorizeURLRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeURLRequest) Reset ¶ added in v1.4.0
func (x *AuthorizeURLRequest) Reset()
func (*AuthorizeURLRequest) String ¶ added in v1.4.0
func (x *AuthorizeURLRequest) String() string
type AuthorizeURLResponse ¶ added in v1.4.0
type AuthorizeURLResponse struct { AuthorizeUrl string `protobuf:"bytes,1,opt,name=authorize_url,json=authorizeUrl,proto3" json:"authorize_url,omitempty"` // contains filtered or unexported fields }
func (*AuthorizeURLResponse) Descriptor
deprecated
added in
v1.4.0
func (*AuthorizeURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeURLResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeURLResponse) GetAuthorizeUrl ¶ added in v1.4.0
func (x *AuthorizeURLResponse) GetAuthorizeUrl() string
func (*AuthorizeURLResponse) ProtoMessage ¶ added in v1.4.0
func (*AuthorizeURLResponse) ProtoMessage()
func (*AuthorizeURLResponse) ProtoReflect ¶ added in v1.4.0
func (x *AuthorizeURLResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeURLResponse) Reset ¶ added in v1.4.0
func (x *AuthorizeURLResponse) Reset()
func (*AuthorizeURLResponse) String ¶ added in v1.4.0
func (x *AuthorizeURLResponse) String() string
type CallbackRequest ¶ added in v1.4.0
type CallbackRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*CallbackRequest) Descriptor
deprecated
added in
v1.4.0
func (*CallbackRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallbackRequest.ProtoReflect.Descriptor instead.
func (*CallbackRequest) GetCode ¶ added in v1.4.0
func (x *CallbackRequest) GetCode() string
func (*CallbackRequest) GetProvider ¶ added in v1.4.0
func (x *CallbackRequest) GetProvider() string
func (*CallbackRequest) GetState ¶ added in v1.4.0
func (x *CallbackRequest) GetState() string
func (*CallbackRequest) ProtoMessage ¶ added in v1.4.0
func (*CallbackRequest) ProtoMessage()
func (*CallbackRequest) ProtoReflect ¶ added in v1.4.0
func (x *CallbackRequest) ProtoReflect() protoreflect.Message
func (*CallbackRequest) Reset ¶ added in v1.4.0
func (x *CallbackRequest) Reset()
func (*CallbackRequest) String ¶ added in v1.4.0
func (x *CallbackRequest) String() string
type CallbackResponse ¶ added in v1.4.0
type CallbackResponse struct { ClientToken string `protobuf:"bytes,1,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"` Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"` // contains filtered or unexported fields }
func (*CallbackResponse) Descriptor
deprecated
added in
v1.4.0
func (*CallbackResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallbackResponse.ProtoReflect.Descriptor instead.
func (*CallbackResponse) GetAuthentication ¶ added in v1.4.0
func (x *CallbackResponse) GetAuthentication() *Authentication
func (*CallbackResponse) GetClientToken ¶ added in v1.4.0
func (x *CallbackResponse) GetClientToken() string
func (*CallbackResponse) ProtoMessage ¶ added in v1.4.0
func (*CallbackResponse) ProtoMessage()
func (*CallbackResponse) ProtoReflect ¶ added in v1.4.0
func (x *CallbackResponse) ProtoReflect() protoreflect.Message
func (*CallbackResponse) Reset ¶ added in v1.4.0
func (x *CallbackResponse) Reset()
func (*CallbackResponse) String ¶ added in v1.4.0
func (x *CallbackResponse) String() string
type CreateTokenRequest ¶
type CreateTokenRequest 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"` ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` NamespaceKey string `protobuf:"bytes,4,opt,name=namespace_key,json=namespaceKey,proto3" json:"namespace_key,omitempty"` // contains filtered or unexported fields }
func (*CreateTokenRequest) Descriptor
deprecated
func (*CreateTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateTokenRequest) GetDescription ¶
func (x *CreateTokenRequest) GetDescription() string
func (*CreateTokenRequest) GetExpiresAt ¶
func (x *CreateTokenRequest) GetExpiresAt() *timestamppb.Timestamp
func (*CreateTokenRequest) GetName ¶
func (x *CreateTokenRequest) GetName() string
func (*CreateTokenRequest) GetNamespaceKey ¶ added in v1.10.0
func (x *CreateTokenRequest) GetNamespaceKey() string
func (*CreateTokenRequest) ProtoMessage ¶
func (*CreateTokenRequest) ProtoMessage()
func (*CreateTokenRequest) ProtoReflect ¶
func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateTokenRequest) Reset ¶
func (x *CreateTokenRequest) Reset()
func (*CreateTokenRequest) String ¶
func (x *CreateTokenRequest) String() string
type CreateTokenResponse ¶
type CreateTokenResponse struct { ClientToken string `protobuf:"bytes,1,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"` Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"` // contains filtered or unexported fields }
func (*CreateTokenResponse) Descriptor
deprecated
func (*CreateTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead.
func (*CreateTokenResponse) GetAuthentication ¶
func (x *CreateTokenResponse) GetAuthentication() *Authentication
func (*CreateTokenResponse) GetClientToken ¶
func (x *CreateTokenResponse) GetClientToken() string
func (*CreateTokenResponse) ProtoMessage ¶
func (*CreateTokenResponse) ProtoMessage()
func (*CreateTokenResponse) ProtoReflect ¶
func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message
func (*CreateTokenResponse) Reset ¶
func (x *CreateTokenResponse) Reset()
func (*CreateTokenResponse) String ¶
func (x *CreateTokenResponse) String() string
type DeleteAuthenticationRequest ¶
type DeleteAuthenticationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAuthenticationRequest) Descriptor
deprecated
func (*DeleteAuthenticationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuthenticationRequest.ProtoReflect.Descriptor instead.
func (*DeleteAuthenticationRequest) GetId ¶
func (x *DeleteAuthenticationRequest) GetId() string
func (*DeleteAuthenticationRequest) ProtoMessage ¶
func (*DeleteAuthenticationRequest) ProtoMessage()
func (*DeleteAuthenticationRequest) ProtoReflect ¶
func (x *DeleteAuthenticationRequest) ProtoReflect() protoreflect.Message
func (*DeleteAuthenticationRequest) Reset ¶
func (x *DeleteAuthenticationRequest) Reset()
func (*DeleteAuthenticationRequest) String ¶
func (x *DeleteAuthenticationRequest) String() string
type ExpireAuthenticationSelfRequest ¶ added in v1.4.0
type ExpireAuthenticationSelfRequest struct { ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*ExpireAuthenticationSelfRequest) Descriptor
deprecated
added in
v1.4.0
func (*ExpireAuthenticationSelfRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExpireAuthenticationSelfRequest.ProtoReflect.Descriptor instead.
func (*ExpireAuthenticationSelfRequest) GetExpiresAt ¶ added in v1.4.0
func (x *ExpireAuthenticationSelfRequest) GetExpiresAt() *timestamppb.Timestamp
func (*ExpireAuthenticationSelfRequest) ProtoMessage ¶ added in v1.4.0
func (*ExpireAuthenticationSelfRequest) ProtoMessage()
func (*ExpireAuthenticationSelfRequest) ProtoReflect ¶ added in v1.4.0
func (x *ExpireAuthenticationSelfRequest) ProtoReflect() protoreflect.Message
func (*ExpireAuthenticationSelfRequest) Reset ¶ added in v1.4.0
func (x *ExpireAuthenticationSelfRequest) Reset()
func (*ExpireAuthenticationSelfRequest) String ¶ added in v1.4.0
func (x *ExpireAuthenticationSelfRequest) String() string
type GetAuthenticationRequest ¶
type GetAuthenticationRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAuthenticationRequest) Descriptor
deprecated
func (*GetAuthenticationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthenticationRequest.ProtoReflect.Descriptor instead.
func (*GetAuthenticationRequest) GetId ¶
func (x *GetAuthenticationRequest) GetId() string
func (*GetAuthenticationRequest) ProtoMessage ¶
func (*GetAuthenticationRequest) ProtoMessage()
func (*GetAuthenticationRequest) ProtoReflect ¶
func (x *GetAuthenticationRequest) ProtoReflect() protoreflect.Message
func (*GetAuthenticationRequest) Reset ¶
func (x *GetAuthenticationRequest) Reset()
func (*GetAuthenticationRequest) String ¶
func (x *GetAuthenticationRequest) String() string
type ListAuthenticationMethodsResponse ¶ added in v1.4.0
type ListAuthenticationMethodsResponse struct { Methods []*MethodInfo `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"` // contains filtered or unexported fields }
func (*ListAuthenticationMethodsResponse) Descriptor
deprecated
added in
v1.4.0
func (*ListAuthenticationMethodsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthenticationMethodsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthenticationMethodsResponse) GetMethods ¶ added in v1.4.0
func (x *ListAuthenticationMethodsResponse) GetMethods() []*MethodInfo
func (*ListAuthenticationMethodsResponse) ProtoMessage ¶ added in v1.4.0
func (*ListAuthenticationMethodsResponse) ProtoMessage()
func (*ListAuthenticationMethodsResponse) ProtoReflect ¶ added in v1.4.0
func (x *ListAuthenticationMethodsResponse) ProtoReflect() protoreflect.Message
func (*ListAuthenticationMethodsResponse) Reset ¶ added in v1.4.0
func (x *ListAuthenticationMethodsResponse) Reset()
func (*ListAuthenticationMethodsResponse) String ¶ added in v1.4.0
func (x *ListAuthenticationMethodsResponse) String() string
type ListAuthenticationsRequest ¶
type ListAuthenticationsRequest struct { Method Method `protobuf:"varint,1,opt,name=method,proto3,enum=flipt.auth.Method" json:"method,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAuthenticationsRequest) Descriptor
deprecated
func (*ListAuthenticationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthenticationsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthenticationsRequest) GetLimit ¶
func (x *ListAuthenticationsRequest) GetLimit() int32
func (*ListAuthenticationsRequest) GetMethod ¶
func (x *ListAuthenticationsRequest) GetMethod() Method
func (*ListAuthenticationsRequest) GetPageToken ¶
func (x *ListAuthenticationsRequest) GetPageToken() string
func (*ListAuthenticationsRequest) ProtoMessage ¶
func (*ListAuthenticationsRequest) ProtoMessage()
func (*ListAuthenticationsRequest) ProtoReflect ¶
func (x *ListAuthenticationsRequest) ProtoReflect() protoreflect.Message
func (*ListAuthenticationsRequest) Reset ¶
func (x *ListAuthenticationsRequest) Reset()
func (*ListAuthenticationsRequest) String ¶
func (x *ListAuthenticationsRequest) String() string
type ListAuthenticationsResponse ¶
type ListAuthenticationsResponse struct { Authentications []*Authentication `protobuf:"bytes,1,rep,name=authentications,proto3" json:"authentications,omitempty"` NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAuthenticationsResponse) Descriptor
deprecated
func (*ListAuthenticationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthenticationsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthenticationsResponse) GetAuthentications ¶
func (x *ListAuthenticationsResponse) GetAuthentications() []*Authentication
func (*ListAuthenticationsResponse) GetNextPageToken ¶
func (x *ListAuthenticationsResponse) GetNextPageToken() string
func (*ListAuthenticationsResponse) ProtoMessage ¶
func (*ListAuthenticationsResponse) ProtoMessage()
func (*ListAuthenticationsResponse) ProtoReflect ¶
func (x *ListAuthenticationsResponse) ProtoReflect() protoreflect.Message
func (*ListAuthenticationsResponse) Reset ¶
func (x *ListAuthenticationsResponse) Reset()
func (*ListAuthenticationsResponse) String ¶
func (x *ListAuthenticationsResponse) String() string
type Method ¶
type Method int32
func (Method) Descriptor ¶
func (Method) Descriptor() protoreflect.EnumDescriptor
func (Method) EnumDescriptor
deprecated
func (Method) Number ¶
func (x Method) Number() protoreflect.EnumNumber
func (Method) Type ¶
func (Method) Type() protoreflect.EnumType
type MethodInfo ¶ added in v1.4.0
type MethodInfo struct { Method Method `protobuf:"varint,1,opt,name=method,proto3,enum=flipt.auth.Method" json:"method,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` SessionCompatible bool `protobuf:"varint,3,opt,name=session_compatible,json=sessionCompatible,proto3" json:"session_compatible,omitempty"` Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MethodInfo) Descriptor
deprecated
added in
v1.4.0
func (*MethodInfo) Descriptor() ([]byte, []int)
Deprecated: Use MethodInfo.ProtoReflect.Descriptor instead.
func (*MethodInfo) GetEnabled ¶ added in v1.4.0
func (x *MethodInfo) GetEnabled() bool
func (*MethodInfo) GetMetadata ¶ added in v1.4.0
func (x *MethodInfo) GetMetadata() *structpb.Struct
func (*MethodInfo) GetMethod ¶ added in v1.4.0
func (x *MethodInfo) GetMethod() Method
func (*MethodInfo) GetSessionCompatible ¶ added in v1.4.0
func (x *MethodInfo) GetSessionCompatible() bool
func (*MethodInfo) ProtoMessage ¶ added in v1.4.0
func (*MethodInfo) ProtoMessage()
func (*MethodInfo) ProtoReflect ¶ added in v1.4.0
func (x *MethodInfo) ProtoReflect() protoreflect.Message
func (*MethodInfo) Reset ¶ added in v1.4.0
func (x *MethodInfo) Reset()
func (*MethodInfo) String ¶ added in v1.4.0
func (x *MethodInfo) String() string
type PublicAuthenticationServiceClient ¶ added in v1.4.0
type PublicAuthenticationServiceClient interface {
ListAuthenticationMethods(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListAuthenticationMethodsResponse, error)
}
PublicAuthenticationServiceClient is the client API for PublicAuthenticationService 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.
func NewPublicAuthenticationServiceClient ¶ added in v1.4.0
func NewPublicAuthenticationServiceClient(cc grpc.ClientConnInterface) PublicAuthenticationServiceClient
type PublicAuthenticationServiceServer ¶ added in v1.4.0
type PublicAuthenticationServiceServer interface { ListAuthenticationMethods(context.Context, *emptypb.Empty) (*ListAuthenticationMethodsResponse, error) // contains filtered or unexported methods }
PublicAuthenticationServiceServer is the server API for PublicAuthenticationService service. All implementations must embed UnimplementedPublicAuthenticationServiceServer for forward compatibility
type UnimplementedAuthenticationMethodGithubServiceServer ¶ added in v1.8.0
type UnimplementedAuthenticationMethodGithubServiceServer struct { }
UnimplementedAuthenticationMethodGithubServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticationMethodGithubServiceServer) AuthorizeURL ¶ added in v1.8.0
func (UnimplementedAuthenticationMethodGithubServiceServer) AuthorizeURL(context.Context, *AuthorizeURLRequest) (*AuthorizeURLResponse, error)
func (UnimplementedAuthenticationMethodGithubServiceServer) Callback ¶ added in v1.8.0
func (UnimplementedAuthenticationMethodGithubServiceServer) Callback(context.Context, *CallbackRequest) (*CallbackResponse, error)
type UnimplementedAuthenticationMethodKubernetesServiceServer ¶ added in v1.5.0
type UnimplementedAuthenticationMethodKubernetesServiceServer struct { }
UnimplementedAuthenticationMethodKubernetesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticationMethodKubernetesServiceServer) VerifyServiceAccount ¶ added in v1.5.0
func (UnimplementedAuthenticationMethodKubernetesServiceServer) VerifyServiceAccount(context.Context, *VerifyServiceAccountRequest) (*VerifyServiceAccountResponse, error)
type UnimplementedAuthenticationMethodOIDCServiceServer ¶ added in v1.4.0
type UnimplementedAuthenticationMethodOIDCServiceServer struct { }
UnimplementedAuthenticationMethodOIDCServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticationMethodOIDCServiceServer) AuthorizeURL ¶ added in v1.4.0
func (UnimplementedAuthenticationMethodOIDCServiceServer) AuthorizeURL(context.Context, *AuthorizeURLRequest) (*AuthorizeURLResponse, error)
func (UnimplementedAuthenticationMethodOIDCServiceServer) Callback ¶ added in v1.4.0
func (UnimplementedAuthenticationMethodOIDCServiceServer) Callback(context.Context, *CallbackRequest) (*CallbackResponse, error)
type UnimplementedAuthenticationMethodTokenServiceServer ¶
type UnimplementedAuthenticationMethodTokenServiceServer struct { }
UnimplementedAuthenticationMethodTokenServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticationMethodTokenServiceServer) CreateToken ¶
func (UnimplementedAuthenticationMethodTokenServiceServer) CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error)
type UnimplementedAuthenticationServiceServer ¶
type UnimplementedAuthenticationServiceServer struct { }
UnimplementedAuthenticationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthenticationServiceServer) DeleteAuthentication ¶
func (UnimplementedAuthenticationServiceServer) DeleteAuthentication(context.Context, *DeleteAuthenticationRequest) (*emptypb.Empty, error)
func (UnimplementedAuthenticationServiceServer) ExpireAuthenticationSelf ¶ added in v1.4.0
func (UnimplementedAuthenticationServiceServer) ExpireAuthenticationSelf(context.Context, *ExpireAuthenticationSelfRequest) (*emptypb.Empty, error)
func (UnimplementedAuthenticationServiceServer) GetAuthentication ¶
func (UnimplementedAuthenticationServiceServer) GetAuthentication(context.Context, *GetAuthenticationRequest) (*Authentication, error)
func (UnimplementedAuthenticationServiceServer) GetAuthenticationSelf ¶
func (UnimplementedAuthenticationServiceServer) GetAuthenticationSelf(context.Context, *emptypb.Empty) (*Authentication, error)
func (UnimplementedAuthenticationServiceServer) ListAuthentications ¶
func (UnimplementedAuthenticationServiceServer) ListAuthentications(context.Context, *ListAuthenticationsRequest) (*ListAuthenticationsResponse, error)
type UnimplementedPublicAuthenticationServiceServer ¶ added in v1.4.0
type UnimplementedPublicAuthenticationServiceServer struct { }
UnimplementedPublicAuthenticationServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPublicAuthenticationServiceServer) ListAuthenticationMethods ¶ added in v1.4.0
func (UnimplementedPublicAuthenticationServiceServer) ListAuthenticationMethods(context.Context, *emptypb.Empty) (*ListAuthenticationMethodsResponse, error)
type UnsafeAuthenticationMethodGithubServiceServer ¶ added in v1.8.0
type UnsafeAuthenticationMethodGithubServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticationMethodGithubServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationMethodGithubServiceServer will result in compilation errors.
type UnsafeAuthenticationMethodKubernetesServiceServer ¶ added in v1.5.0
type UnsafeAuthenticationMethodKubernetesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticationMethodKubernetesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationMethodKubernetesServiceServer will result in compilation errors.
type UnsafeAuthenticationMethodOIDCServiceServer ¶ added in v1.4.0
type UnsafeAuthenticationMethodOIDCServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticationMethodOIDCServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationMethodOIDCServiceServer will result in compilation errors.
type UnsafeAuthenticationMethodTokenServiceServer ¶
type UnsafeAuthenticationMethodTokenServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticationMethodTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationMethodTokenServiceServer will result in compilation errors.
type UnsafeAuthenticationServiceServer ¶
type UnsafeAuthenticationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthenticationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthenticationServiceServer will result in compilation errors.
type UnsafePublicAuthenticationServiceServer ¶ added in v1.4.0
type UnsafePublicAuthenticationServiceServer interface {
// contains filtered or unexported methods
}
UnsafePublicAuthenticationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublicAuthenticationServiceServer will result in compilation errors.
type VerifyServiceAccountRequest ¶ added in v1.5.0
type VerifyServiceAccountRequest struct { ServiceAccountToken string `protobuf:"bytes,1,opt,name=service_account_token,json=serviceAccountToken,proto3" json:"service_account_token,omitempty"` // contains filtered or unexported fields }
func (*VerifyServiceAccountRequest) Descriptor
deprecated
added in
v1.5.0
func (*VerifyServiceAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyServiceAccountRequest.ProtoReflect.Descriptor instead.
func (*VerifyServiceAccountRequest) GetServiceAccountToken ¶ added in v1.5.0
func (x *VerifyServiceAccountRequest) GetServiceAccountToken() string
func (*VerifyServiceAccountRequest) ProtoMessage ¶ added in v1.5.0
func (*VerifyServiceAccountRequest) ProtoMessage()
func (*VerifyServiceAccountRequest) ProtoReflect ¶ added in v1.5.0
func (x *VerifyServiceAccountRequest) ProtoReflect() protoreflect.Message
func (*VerifyServiceAccountRequest) Reset ¶ added in v1.5.0
func (x *VerifyServiceAccountRequest) Reset()
func (*VerifyServiceAccountRequest) String ¶ added in v1.5.0
func (x *VerifyServiceAccountRequest) String() string
type VerifyServiceAccountResponse ¶ added in v1.5.0
type VerifyServiceAccountResponse struct { ClientToken string `protobuf:"bytes,1,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"` Authentication *Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"` // contains filtered or unexported fields }
func (*VerifyServiceAccountResponse) Descriptor
deprecated
added in
v1.5.0
func (*VerifyServiceAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyServiceAccountResponse.ProtoReflect.Descriptor instead.
func (*VerifyServiceAccountResponse) GetAuthentication ¶ added in v1.5.0
func (x *VerifyServiceAccountResponse) GetAuthentication() *Authentication
func (*VerifyServiceAccountResponse) GetClientToken ¶ added in v1.5.0
func (x *VerifyServiceAccountResponse) GetClientToken() string
func (*VerifyServiceAccountResponse) ProtoMessage ¶ added in v1.5.0
func (*VerifyServiceAccountResponse) ProtoMessage()
func (*VerifyServiceAccountResponse) ProtoReflect ¶ added in v1.5.0
func (x *VerifyServiceAccountResponse) ProtoReflect() protoreflect.Message
func (*VerifyServiceAccountResponse) Reset ¶ added in v1.5.0
func (x *VerifyServiceAccountResponse) Reset()
func (*VerifyServiceAccountResponse) String ¶ added in v1.5.0
func (x *VerifyServiceAccountResponse) String() string