Documentation ¶
Index ¶
- Variables
- func RegisterIAMAuthenticationOAuth2ConfigServiceServer(s grpc.ServiceRegistrar, srv IAMAuthenticationOAuth2ConfigServiceServer)
- func RegisterIAMAuthenticationOAuth2ServiceServer(s grpc.ServiceRegistrar, srv IAMAuthenticationOAuth2ServiceServer)
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateRequest) GetCode() string
- func (x *AuthenticateRequest) GetCodeVerifier() string
- func (x *AuthenticateRequest) GetNamespace() string
- func (x *AuthenticateRequest) GetProvider() ProviderType
- func (x *AuthenticateRequest) GetRedirectUrl() string
- func (*AuthenticateRequest) ProtoMessage()
- func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
- func (x *AuthenticateRequest) Reset()
- func (x *AuthenticateRequest) String() string
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthenticateResponse) GetIdentity() string
- func (x *AuthenticateResponse) GetStatus() AuthenticateResponse_Status
- func (x *AuthenticateResponse) GetUserDetails() *ProviderUserDetails
- func (*AuthenticateResponse) ProtoMessage()
- func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
- func (x *AuthenticateResponse) Reset()
- func (x *AuthenticateResponse) String() string
- type AuthenticateResponse_Status
- func (AuthenticateResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x AuthenticateResponse_Status) Enum() *AuthenticateResponse_Status
- func (AuthenticateResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthenticateResponse_Status) Number() protoreflect.EnumNumber
- func (x AuthenticateResponse_Status) String() string
- func (AuthenticateResponse_Status) Type() protoreflect.EnumType
- type ForgetIdentityProviderRequest
- func (*ForgetIdentityProviderRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgetIdentityProviderRequest) GetIdentity() string
- func (x *ForgetIdentityProviderRequest) GetNamespace() string
- func (x *ForgetIdentityProviderRequest) GetProvider() ProviderType
- func (*ForgetIdentityProviderRequest) ProtoMessage()
- func (x *ForgetIdentityProviderRequest) ProtoReflect() protoreflect.Message
- func (x *ForgetIdentityProviderRequest) Reset()
- func (x *ForgetIdentityProviderRequest) String() string
- type ForgetIdentityProviderResponse
- func (*ForgetIdentityProviderResponse) Descriptor() ([]byte, []int)deprecated
- func (*ForgetIdentityProviderResponse) ProtoMessage()
- func (x *ForgetIdentityProviderResponse) ProtoReflect() protoreflect.Message
- func (x *ForgetIdentityProviderResponse) Reset()
- func (x *ForgetIdentityProviderResponse) String() string
- type GetAvailableProvidersRequest
- func (*GetAvailableProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableProvidersRequest) GetNamespace() string
- func (*GetAvailableProvidersRequest) ProtoMessage()
- func (x *GetAvailableProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *GetAvailableProvidersRequest) Reset()
- func (x *GetAvailableProvidersRequest) String() string
- type GetAvailableProvidersResponse
- func (*GetAvailableProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableProvidersResponse) GetProviders() []ProviderType
- func (*GetAvailableProvidersResponse) ProtoMessage()
- func (x *GetAvailableProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *GetAvailableProvidersResponse) Reset()
- func (x *GetAvailableProvidersResponse) String() string
- type GetRegisteredIdentityProvidersRequest
- func (*GetRegisteredIdentityProvidersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegisteredIdentityProvidersRequest) GetIdentity() string
- func (x *GetRegisteredIdentityProvidersRequest) GetNamespace() string
- func (*GetRegisteredIdentityProvidersRequest) ProtoMessage()
- func (x *GetRegisteredIdentityProvidersRequest) ProtoReflect() protoreflect.Message
- func (x *GetRegisteredIdentityProvidersRequest) Reset()
- func (x *GetRegisteredIdentityProvidersRequest) String() string
- type GetRegisteredIdentityProvidersResponse
- func (*GetRegisteredIdentityProvidersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegisteredIdentityProvidersResponse) GetProviders() []*GetRegisteredIdentityProvidersResponse_RegisteredProvider
- func (*GetRegisteredIdentityProvidersResponse) ProtoMessage()
- func (x *GetRegisteredIdentityProvidersResponse) ProtoReflect() protoreflect.Message
- func (x *GetRegisteredIdentityProvidersResponse) Reset()
- func (x *GetRegisteredIdentityProvidersResponse) String() string
- type GetRegisteredIdentityProvidersResponse_RegisteredProvider
- func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) GetProvider() ProviderType
- func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) GetUserDetails() *ProviderUserDetails
- func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) ProtoMessage()
- func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) ProtoReflect() protoreflect.Message
- func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) Reset()
- func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) String() string
- type IAMAuthenticationOAuth2ConfigServiceClient
- type IAMAuthenticationOAuth2ConfigServiceServer
- type IAMAuthenticationOAuth2ServiceClient
- type IAMAuthenticationOAuth2ServiceServer
- type ListProviderConfigsRequest
- func (*ListProviderConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProviderConfigsRequest) GetNamespace() string
- func (*ListProviderConfigsRequest) ProtoMessage()
- func (x *ListProviderConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProviderConfigsRequest) Reset()
- func (x *ListProviderConfigsRequest) String() string
- type ListProviderConfigsResponse
- func (*ListProviderConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProviderConfigsResponse) GetConfigs() []*ProviderConfig
- func (*ListProviderConfigsResponse) ProtoMessage()
- func (x *ListProviderConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProviderConfigsResponse) Reset()
- func (x *ListProviderConfigsResponse) String() string
- type ProviderConfig
- func (*ProviderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderConfig) GetAuthUrl() string
- func (x *ProviderConfig) GetClientId() string
- func (x *ProviderConfig) GetClientSecret() string
- func (x *ProviderConfig) GetEnabled() bool
- func (x *ProviderConfig) GetNamespace() string
- func (x *ProviderConfig) GetTokenUrl() string
- func (x *ProviderConfig) GetType() ProviderType
- func (x *ProviderConfig) GetUserApiUrl() string
- func (*ProviderConfig) ProtoMessage()
- func (x *ProviderConfig) ProtoReflect() protoreflect.Message
- func (x *ProviderConfig) Reset()
- func (x *ProviderConfig) String() string
- type ProviderType
- func (ProviderType) Descriptor() protoreflect.EnumDescriptor
- func (x ProviderType) Enum() *ProviderType
- func (ProviderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProviderType) Number() protoreflect.EnumNumber
- func (x ProviderType) String() string
- func (ProviderType) Type() protoreflect.EnumType
- type ProviderUserDetails
- func (*ProviderUserDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderUserDetails) GetAvatarUrl() string
- func (x *ProviderUserDetails) GetEmail() string
- func (x *ProviderUserDetails) GetId() string
- func (x *ProviderUserDetails) GetName() string
- func (x *ProviderUserDetails) GetUsername() string
- func (*ProviderUserDetails) ProtoMessage()
- func (x *ProviderUserDetails) ProtoReflect() protoreflect.Message
- func (x *ProviderUserDetails) Reset()
- func (x *ProviderUserDetails) String() string
- type RegisterProviderForIdentityRequest
- func (*RegisterProviderForIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterProviderForIdentityRequest) GetCode() string
- func (x *RegisterProviderForIdentityRequest) GetCodeVerifier() string
- func (x *RegisterProviderForIdentityRequest) GetIdentity() string
- func (x *RegisterProviderForIdentityRequest) GetNamespace() string
- func (x *RegisterProviderForIdentityRequest) GetProvider() ProviderType
- func (x *RegisterProviderForIdentityRequest) GetRedirectUrl() string
- func (*RegisterProviderForIdentityRequest) ProtoMessage()
- func (x *RegisterProviderForIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterProviderForIdentityRequest) Reset()
- func (x *RegisterProviderForIdentityRequest) String() string
- type RegisterProviderForIdentityResponse
- func (*RegisterProviderForIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterProviderForIdentityResponse) GetStatus() RegisterProviderForIdentityResponse_Status
- func (x *RegisterProviderForIdentityResponse) GetUserDetails() *ProviderUserDetails
- func (*RegisterProviderForIdentityResponse) ProtoMessage()
- func (x *RegisterProviderForIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterProviderForIdentityResponse) Reset()
- func (x *RegisterProviderForIdentityResponse) String() string
- type RegisterProviderForIdentityResponse_Status
- func (RegisterProviderForIdentityResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x RegisterProviderForIdentityResponse_Status) Enum() *RegisterProviderForIdentityResponse_Status
- func (RegisterProviderForIdentityResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x RegisterProviderForIdentityResponse_Status) Number() protoreflect.EnumNumber
- func (x RegisterProviderForIdentityResponse_Status) String() string
- func (RegisterProviderForIdentityResponse_Status) Type() protoreflect.EnumType
- type UnimplementedIAMAuthenticationOAuth2ConfigServiceServer
- func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) GetAvailableProviders(context.Context, *GetAvailableProvidersRequest) (*GetAvailableProvidersResponse, error)
- func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) ListProviderConfigs(context.Context, *ListProviderConfigsRequest) (*ListProviderConfigsResponse, error)
- func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) UpdateProviderConfig(context.Context, *UpdateProviderConfigRequest) (*UpdateProviderConfigResponse, error)
- type UnimplementedIAMAuthenticationOAuth2ServiceServer
- func (UnimplementedIAMAuthenticationOAuth2ServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
- func (UnimplementedIAMAuthenticationOAuth2ServiceServer) ForgetIdentityProvider(context.Context, *ForgetIdentityProviderRequest) (*ForgetIdentityProviderResponse, error)
- func (UnimplementedIAMAuthenticationOAuth2ServiceServer) GetRegisteredIdentityProviders(context.Context, *GetRegisteredIdentityProvidersRequest) (*GetRegisteredIdentityProvidersResponse, error)
- func (UnimplementedIAMAuthenticationOAuth2ServiceServer) RegisterProviderForIdentity(context.Context, *RegisterProviderForIdentityRequest) (*RegisterProviderForIdentityResponse, error)
- type UnsafeIAMAuthenticationOAuth2ConfigServiceServer
- type UnsafeIAMAuthenticationOAuth2ServiceServer
- type UpdateProviderConfigRequest
- func (*UpdateProviderConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProviderConfigRequest) GetConfig() *ProviderConfig
- func (*UpdateProviderConfigRequest) ProtoMessage()
- func (x *UpdateProviderConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProviderConfigRequest) Reset()
- func (x *UpdateProviderConfigRequest) String() string
- type UpdateProviderConfigResponse
- func (*UpdateProviderConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateProviderConfigResponse) ProtoMessage()
- func (x *UpdateProviderConfigResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProviderConfigResponse) Reset()
- func (x *UpdateProviderConfigResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ProviderType_name = map[int32]string{ 0: "GOOGLE", 1: "FACEBOOK", 2: "GITHUB", 3: "MICROSOFT", 4: "TWITTER", 5: "APPLE", 6: "GITLAB", 7: "DISCORD", 8: "OIDC", 9: "OIDC2", 10: "OIDC3", 11: "INSTAGRAM", } ProviderType_value = map[string]int32{ "GOOGLE": 0, "FACEBOOK": 1, "GITHUB": 2, "MICROSOFT": 3, "TWITTER": 4, "APPLE": 5, "GITLAB": 6, "DISCORD": 7, "OIDC": 8, "OIDC2": 9, "OIDC3": 10, "INSTAGRAM": 11, } )
Enum value maps for ProviderType.
var ( AuthenticateResponse_Status_name = map[int32]string{ 0: "OK", 1: "PROVIDER_DISABLED", 2: "ERROR_WHILE_RETRIEVING_AUTH_TOKEN", 3: "ERROR_WHILE_FETCHING_USER_DETAILS", 4: "UNAUTHENTICATED", } AuthenticateResponse_Status_value = map[string]int32{ "OK": 0, "PROVIDER_DISABLED": 1, "ERROR_WHILE_RETRIEVING_AUTH_TOKEN": 2, "ERROR_WHILE_FETCHING_USER_DETAILS": 3, "UNAUTHENTICATED": 4, } )
Enum value maps for AuthenticateResponse_Status.
var ( RegisterProviderForIdentityResponse_Status_name = map[int32]string{ 0: "OK", 1: "PROVIDER_DISABLED", 2: "ERROR_WHILE_RETRIEVING_AUTH_TOKEN", 3: "ERROR_WHILE_FETCHING_USER_DETAILS", 4: "ALREADY_REGISTERED", } RegisterProviderForIdentityResponse_Status_value = map[string]int32{ "OK": 0, "PROVIDER_DISABLED": 1, "ERROR_WHILE_RETRIEVING_AUTH_TOKEN": 2, "ERROR_WHILE_FETCHING_USER_DETAILS": 3, "ALREADY_REGISTERED": 4, } )
Enum value maps for RegisterProviderForIdentityResponse_Status.
var File_oauth2_proto protoreflect.FileDescriptor
var IAMAuthenticationOAuth2ConfigService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "native_iam_authentication_oauth2.IAMAuthenticationOAuth2ConfigService", HandlerType: (*IAMAuthenticationOAuth2ConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateProviderConfig", Handler: _IAMAuthenticationOAuth2ConfigService_UpdateProviderConfig_Handler, }, { MethodName: "ListProviderConfigs", Handler: _IAMAuthenticationOAuth2ConfigService_ListProviderConfigs_Handler, }, { MethodName: "GetAvailableProviders", Handler: _IAMAuthenticationOAuth2ConfigService_GetAvailableProviders_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "oauth2.proto", }
IAMAuthenticationOAuth2ConfigService_ServiceDesc is the grpc.ServiceDesc for IAMAuthenticationOAuth2ConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var IAMAuthenticationOAuth2Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "native_iam_authentication_oauth2.IAMAuthenticationOAuth2Service", HandlerType: (*IAMAuthenticationOAuth2ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Authenticate", Handler: _IAMAuthenticationOAuth2Service_Authenticate_Handler, }, { MethodName: "RegisterProviderForIdentity", Handler: _IAMAuthenticationOAuth2Service_RegisterProviderForIdentity_Handler, }, { MethodName: "ForgetIdentityProvider", Handler: _IAMAuthenticationOAuth2Service_ForgetIdentityProvider_Handler, }, { MethodName: "GetRegisteredIdentityProviders", Handler: _IAMAuthenticationOAuth2Service_GetRegisteredIdentityProviders_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "oauth2.proto", }
IAMAuthenticationOAuth2Service_ServiceDesc is the grpc.ServiceDesc for IAMAuthenticationOAuth2Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIAMAuthenticationOAuth2ConfigServiceServer ¶
func RegisterIAMAuthenticationOAuth2ConfigServiceServer(s grpc.ServiceRegistrar, srv IAMAuthenticationOAuth2ConfigServiceServer)
func RegisterIAMAuthenticationOAuth2ServiceServer ¶
func RegisterIAMAuthenticationOAuth2ServiceServer(s grpc.ServiceRegistrar, srv IAMAuthenticationOAuth2ServiceServer)
Types ¶
type AuthenticateRequest ¶
type AuthenticateRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Provider ProviderType `protobuf:"varint,2,opt,name=provider,proto3,enum=native_iam_authentication_oauth2.ProviderType" json:"provider,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` CodeVerifier string `protobuf:"bytes,4,opt,name=codeVerifier,proto3" json:"codeVerifier,omitempty"` RedirectUrl string `protobuf:"bytes,5,opt,name=redirectUrl,proto3" json:"redirectUrl,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateRequest) Descriptor
deprecated
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.
func (*AuthenticateRequest) GetCode ¶
func (x *AuthenticateRequest) GetCode() string
func (*AuthenticateRequest) GetCodeVerifier ¶
func (x *AuthenticateRequest) GetCodeVerifier() string
func (*AuthenticateRequest) GetNamespace ¶
func (x *AuthenticateRequest) GetNamespace() string
func (*AuthenticateRequest) GetProvider ¶
func (x *AuthenticateRequest) GetProvider() ProviderType
func (*AuthenticateRequest) GetRedirectUrl ¶
func (x *AuthenticateRequest) GetRedirectUrl() string
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) ProtoReflect ¶
func (x *AuthenticateRequest) ProtoReflect() protoreflect.Message
func (*AuthenticateRequest) Reset ¶
func (x *AuthenticateRequest) Reset()
func (*AuthenticateRequest) String ¶
func (x *AuthenticateRequest) String() string
type AuthenticateResponse ¶
type AuthenticateResponse struct { Status AuthenticateResponse_Status `` /* 132-byte string literal not displayed */ Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` UserDetails *ProviderUserDetails `protobuf:"bytes,3,opt,name=userDetails,proto3" json:"userDetails,omitempty"` // contains filtered or unexported fields }
func (*AuthenticateResponse) Descriptor
deprecated
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.
func (*AuthenticateResponse) GetIdentity ¶
func (x *AuthenticateResponse) GetIdentity() string
func (*AuthenticateResponse) GetStatus ¶
func (x *AuthenticateResponse) GetStatus() AuthenticateResponse_Status
func (*AuthenticateResponse) GetUserDetails ¶
func (x *AuthenticateResponse) GetUserDetails() *ProviderUserDetails
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) ProtoReflect ¶
func (x *AuthenticateResponse) ProtoReflect() protoreflect.Message
func (*AuthenticateResponse) Reset ¶
func (x *AuthenticateResponse) Reset()
func (*AuthenticateResponse) String ¶
func (x *AuthenticateResponse) String() string
type AuthenticateResponse_Status ¶
type AuthenticateResponse_Status int32
const ( AuthenticateResponse_OK AuthenticateResponse_Status = 0 AuthenticateResponse_PROVIDER_DISABLED AuthenticateResponse_Status = 1 AuthenticateResponse_ERROR_WHILE_RETRIEVING_AUTH_TOKEN AuthenticateResponse_Status = 2 AuthenticateResponse_ERROR_WHILE_FETCHING_USER_DETAILS AuthenticateResponse_Status = 3 // Provider is OK, but cant find registered identity AuthenticateResponse_UNAUTHENTICATED AuthenticateResponse_Status = 4 )
func (AuthenticateResponse_Status) Descriptor ¶
func (AuthenticateResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (AuthenticateResponse_Status) Enum ¶
func (x AuthenticateResponse_Status) Enum() *AuthenticateResponse_Status
func (AuthenticateResponse_Status) EnumDescriptor
deprecated
func (AuthenticateResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthenticateResponse_Status.Descriptor instead.
func (AuthenticateResponse_Status) Number ¶
func (x AuthenticateResponse_Status) Number() protoreflect.EnumNumber
func (AuthenticateResponse_Status) String ¶
func (x AuthenticateResponse_Status) String() string
func (AuthenticateResponse_Status) Type ¶
func (AuthenticateResponse_Status) Type() protoreflect.EnumType
type ForgetIdentityProviderRequest ¶
type ForgetIdentityProviderRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Provider ProviderType `protobuf:"varint,3,opt,name=provider,proto3,enum=native_iam_authentication_oauth2.ProviderType" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*ForgetIdentityProviderRequest) Descriptor
deprecated
func (*ForgetIdentityProviderRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgetIdentityProviderRequest.ProtoReflect.Descriptor instead.
func (*ForgetIdentityProviderRequest) GetIdentity ¶
func (x *ForgetIdentityProviderRequest) GetIdentity() string
func (*ForgetIdentityProviderRequest) GetNamespace ¶
func (x *ForgetIdentityProviderRequest) GetNamespace() string
func (*ForgetIdentityProviderRequest) GetProvider ¶
func (x *ForgetIdentityProviderRequest) GetProvider() ProviderType
func (*ForgetIdentityProviderRequest) ProtoMessage ¶
func (*ForgetIdentityProviderRequest) ProtoMessage()
func (*ForgetIdentityProviderRequest) ProtoReflect ¶
func (x *ForgetIdentityProviderRequest) ProtoReflect() protoreflect.Message
func (*ForgetIdentityProviderRequest) Reset ¶
func (x *ForgetIdentityProviderRequest) Reset()
func (*ForgetIdentityProviderRequest) String ¶
func (x *ForgetIdentityProviderRequest) String() string
type ForgetIdentityProviderResponse ¶
type ForgetIdentityProviderResponse struct {
// contains filtered or unexported fields
}
func (*ForgetIdentityProviderResponse) Descriptor
deprecated
func (*ForgetIdentityProviderResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgetIdentityProviderResponse.ProtoReflect.Descriptor instead.
func (*ForgetIdentityProviderResponse) ProtoMessage ¶
func (*ForgetIdentityProviderResponse) ProtoMessage()
func (*ForgetIdentityProviderResponse) ProtoReflect ¶
func (x *ForgetIdentityProviderResponse) ProtoReflect() protoreflect.Message
func (*ForgetIdentityProviderResponse) Reset ¶
func (x *ForgetIdentityProviderResponse) Reset()
func (*ForgetIdentityProviderResponse) String ¶
func (x *ForgetIdentityProviderResponse) String() string
type GetAvailableProvidersRequest ¶
type GetAvailableProvidersRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*GetAvailableProvidersRequest) Descriptor
deprecated
func (*GetAvailableProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailableProvidersRequest.ProtoReflect.Descriptor instead.
func (*GetAvailableProvidersRequest) GetNamespace ¶
func (x *GetAvailableProvidersRequest) GetNamespace() string
func (*GetAvailableProvidersRequest) ProtoMessage ¶
func (*GetAvailableProvidersRequest) ProtoMessage()
func (*GetAvailableProvidersRequest) ProtoReflect ¶
func (x *GetAvailableProvidersRequest) ProtoReflect() protoreflect.Message
func (*GetAvailableProvidersRequest) Reset ¶
func (x *GetAvailableProvidersRequest) Reset()
func (*GetAvailableProvidersRequest) String ¶
func (x *GetAvailableProvidersRequest) String() string
type GetAvailableProvidersResponse ¶
type GetAvailableProvidersResponse struct { Providers []ProviderType `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAvailableProvidersResponse) Descriptor
deprecated
func (*GetAvailableProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailableProvidersResponse.ProtoReflect.Descriptor instead.
func (*GetAvailableProvidersResponse) GetProviders ¶
func (x *GetAvailableProvidersResponse) GetProviders() []ProviderType
func (*GetAvailableProvidersResponse) ProtoMessage ¶
func (*GetAvailableProvidersResponse) ProtoMessage()
func (*GetAvailableProvidersResponse) ProtoReflect ¶
func (x *GetAvailableProvidersResponse) ProtoReflect() protoreflect.Message
func (*GetAvailableProvidersResponse) Reset ¶
func (x *GetAvailableProvidersResponse) Reset()
func (*GetAvailableProvidersResponse) String ¶
func (x *GetAvailableProvidersResponse) String() string
type GetRegisteredIdentityProvidersRequest ¶
type GetRegisteredIdentityProvidersRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*GetRegisteredIdentityProvidersRequest) Descriptor
deprecated
func (*GetRegisteredIdentityProvidersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRegisteredIdentityProvidersRequest.ProtoReflect.Descriptor instead.
func (*GetRegisteredIdentityProvidersRequest) GetIdentity ¶
func (x *GetRegisteredIdentityProvidersRequest) GetIdentity() string
func (*GetRegisteredIdentityProvidersRequest) GetNamespace ¶
func (x *GetRegisteredIdentityProvidersRequest) GetNamespace() string
func (*GetRegisteredIdentityProvidersRequest) ProtoMessage ¶
func (*GetRegisteredIdentityProvidersRequest) ProtoMessage()
func (*GetRegisteredIdentityProvidersRequest) ProtoReflect ¶
func (x *GetRegisteredIdentityProvidersRequest) ProtoReflect() protoreflect.Message
func (*GetRegisteredIdentityProvidersRequest) Reset ¶
func (x *GetRegisteredIdentityProvidersRequest) Reset()
func (*GetRegisteredIdentityProvidersRequest) String ¶
func (x *GetRegisteredIdentityProvidersRequest) String() string
type GetRegisteredIdentityProvidersResponse ¶
type GetRegisteredIdentityProvidersResponse struct { Providers []*GetRegisteredIdentityProvidersResponse_RegisteredProvider `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers,omitempty"` // contains filtered or unexported fields }
func (*GetRegisteredIdentityProvidersResponse) Descriptor
deprecated
func (*GetRegisteredIdentityProvidersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRegisteredIdentityProvidersResponse.ProtoReflect.Descriptor instead.
func (*GetRegisteredIdentityProvidersResponse) GetProviders ¶
func (x *GetRegisteredIdentityProvidersResponse) GetProviders() []*GetRegisteredIdentityProvidersResponse_RegisteredProvider
func (*GetRegisteredIdentityProvidersResponse) ProtoMessage ¶
func (*GetRegisteredIdentityProvidersResponse) ProtoMessage()
func (*GetRegisteredIdentityProvidersResponse) ProtoReflect ¶
func (x *GetRegisteredIdentityProvidersResponse) ProtoReflect() protoreflect.Message
func (*GetRegisteredIdentityProvidersResponse) Reset ¶
func (x *GetRegisteredIdentityProvidersResponse) Reset()
func (*GetRegisteredIdentityProvidersResponse) String ¶
func (x *GetRegisteredIdentityProvidersResponse) String() string
type GetRegisteredIdentityProvidersResponse_RegisteredProvider ¶
type GetRegisteredIdentityProvidersResponse_RegisteredProvider struct { Provider ProviderType `protobuf:"varint,1,opt,name=provider,proto3,enum=native_iam_authentication_oauth2.ProviderType" json:"provider,omitempty"` UserDetails *ProviderUserDetails `protobuf:"bytes,2,opt,name=userDetails,proto3" json:"userDetails,omitempty"` // contains filtered or unexported fields }
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) Descriptor
deprecated
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) Descriptor() ([]byte, []int)
Deprecated: Use GetRegisteredIdentityProvidersResponse_RegisteredProvider.ProtoReflect.Descriptor instead.
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) GetProvider ¶
func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) GetProvider() ProviderType
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) GetUserDetails ¶
func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) GetUserDetails() *ProviderUserDetails
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) ProtoMessage ¶
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) ProtoMessage()
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) ProtoReflect ¶
func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) ProtoReflect() protoreflect.Message
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) Reset ¶
func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) Reset()
func (*GetRegisteredIdentityProvidersResponse_RegisteredProvider) String ¶
func (x *GetRegisteredIdentityProvidersResponse_RegisteredProvider) String() string
type IAMAuthenticationOAuth2ConfigServiceClient ¶
type IAMAuthenticationOAuth2ConfigServiceClient interface { // Updates OAuth2 provider configuration. If configuration does not exist, then it is created. UpdateProviderConfig(ctx context.Context, in *UpdateProviderConfigRequest, opts ...grpc.CallOption) (*UpdateProviderConfigResponse, error) // Lists all OAuth2 provider configurations ListProviderConfigs(ctx context.Context, in *ListProviderConfigsRequest, opts ...grpc.CallOption) (*ListProviderConfigsResponse, error) // Lists all available (configured and enabled) OAuth2 providers GetAvailableProviders(ctx context.Context, in *GetAvailableProvidersRequest, opts ...grpc.CallOption) (*GetAvailableProvidersResponse, error) }
IAMAuthenticationOAuth2ConfigServiceClient is the client API for IAMAuthenticationOAuth2ConfigService 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 NewIAMAuthenticationOAuth2ConfigServiceClient ¶
func NewIAMAuthenticationOAuth2ConfigServiceClient(cc grpc.ClientConnInterface) IAMAuthenticationOAuth2ConfigServiceClient
type IAMAuthenticationOAuth2ConfigServiceServer ¶
type IAMAuthenticationOAuth2ConfigServiceServer interface { // Updates OAuth2 provider configuration. If configuration does not exist, then it is created. UpdateProviderConfig(context.Context, *UpdateProviderConfigRequest) (*UpdateProviderConfigResponse, error) // Lists all OAuth2 provider configurations ListProviderConfigs(context.Context, *ListProviderConfigsRequest) (*ListProviderConfigsResponse, error) // Lists all available (configured and enabled) OAuth2 providers GetAvailableProviders(context.Context, *GetAvailableProvidersRequest) (*GetAvailableProvidersResponse, error) // contains filtered or unexported methods }
IAMAuthenticationOAuth2ConfigServiceServer is the server API for IAMAuthenticationOAuth2ConfigService service. All implementations must embed UnimplementedIAMAuthenticationOAuth2ConfigServiceServer for forward compatibility
type IAMAuthenticationOAuth2ServiceClient ¶
type IAMAuthenticationOAuth2ServiceClient interface { // Authenticates identity using OAuth2 provider Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) // Registers identity using OAuth2 provider. After registration, identity can be authenticated using Authenticate method with this provider. RegisterProviderForIdentity(ctx context.Context, in *RegisterProviderForIdentityRequest, opts ...grpc.CallOption) (*RegisterProviderForIdentityResponse, error) // Forgets identity provider. After forgetting, identity can not be authenticated using Authenticate method with this provider. ForgetIdentityProvider(ctx context.Context, in *ForgetIdentityProviderRequest, opts ...grpc.CallOption) (*ForgetIdentityProviderResponse, error) // Lists all registered OAuth2 providers for identity GetRegisteredIdentityProviders(ctx context.Context, in *GetRegisteredIdentityProvidersRequest, opts ...grpc.CallOption) (*GetRegisteredIdentityProvidersResponse, error) }
IAMAuthenticationOAuth2ServiceClient is the client API for IAMAuthenticationOAuth2Service 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 NewIAMAuthenticationOAuth2ServiceClient ¶
func NewIAMAuthenticationOAuth2ServiceClient(cc grpc.ClientConnInterface) IAMAuthenticationOAuth2ServiceClient
type IAMAuthenticationOAuth2ServiceServer ¶
type IAMAuthenticationOAuth2ServiceServer interface { // Authenticates identity using OAuth2 provider Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) // Registers identity using OAuth2 provider. After registration, identity can be authenticated using Authenticate method with this provider. RegisterProviderForIdentity(context.Context, *RegisterProviderForIdentityRequest) (*RegisterProviderForIdentityResponse, error) // Forgets identity provider. After forgetting, identity can not be authenticated using Authenticate method with this provider. ForgetIdentityProvider(context.Context, *ForgetIdentityProviderRequest) (*ForgetIdentityProviderResponse, error) // Lists all registered OAuth2 providers for identity GetRegisteredIdentityProviders(context.Context, *GetRegisteredIdentityProvidersRequest) (*GetRegisteredIdentityProvidersResponse, error) // contains filtered or unexported methods }
IAMAuthenticationOAuth2ServiceServer is the server API for IAMAuthenticationOAuth2Service service. All implementations must embed UnimplementedIAMAuthenticationOAuth2ServiceServer for forward compatibility
type ListProviderConfigsRequest ¶
type ListProviderConfigsRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*ListProviderConfigsRequest) Descriptor
deprecated
func (*ListProviderConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProviderConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListProviderConfigsRequest) GetNamespace ¶
func (x *ListProviderConfigsRequest) GetNamespace() string
func (*ListProviderConfigsRequest) ProtoMessage ¶
func (*ListProviderConfigsRequest) ProtoMessage()
func (*ListProviderConfigsRequest) ProtoReflect ¶
func (x *ListProviderConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListProviderConfigsRequest) Reset ¶
func (x *ListProviderConfigsRequest) Reset()
func (*ListProviderConfigsRequest) String ¶
func (x *ListProviderConfigsRequest) String() string
type ListProviderConfigsResponse ¶
type ListProviderConfigsResponse struct { Configs []*ProviderConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` // contains filtered or unexported fields }
func (*ListProviderConfigsResponse) Descriptor
deprecated
func (*ListProviderConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProviderConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListProviderConfigsResponse) GetConfigs ¶
func (x *ListProviderConfigsResponse) GetConfigs() []*ProviderConfig
func (*ListProviderConfigsResponse) ProtoMessage ¶
func (*ListProviderConfigsResponse) ProtoMessage()
func (*ListProviderConfigsResponse) ProtoReflect ¶
func (x *ListProviderConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListProviderConfigsResponse) Reset ¶
func (x *ListProviderConfigsResponse) Reset()
func (*ListProviderConfigsResponse) String ¶
func (x *ListProviderConfigsResponse) String() string
type ProviderConfig ¶
type ProviderConfig struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // The OAuth2 provider type Type ProviderType `protobuf:"varint,2,opt,name=type,proto3,enum=native_iam_authentication_oauth2.ProviderType" json:"type,omitempty"` // If provider is enabled or not. If provider is disable, then it is not possible to use it for authentication Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // The OAuth2 client id ClientId string `protobuf:"bytes,4,opt,name=clientId,proto3" json:"clientId,omitempty"` // The OAuth2 client secret. It is stored as an ecrypted value. The encryption is done by system_vault service. ClientSecret string `protobuf:"bytes,5,opt,name=clientSecret,proto3" json:"clientSecret,omitempty"` // The OAuth2 authorization url AuthUrl string `protobuf:"bytes,6,opt,name=authUrl,proto3" json:"authUrl,omitempty"` // The OAuth2 token url TokenUrl string `protobuf:"bytes,7,opt,name=tokenUrl,proto3" json:"tokenUrl,omitempty"` // The OAuth2 user api url UserApiUrl string `protobuf:"bytes,8,opt,name=userApiUrl,proto3" json:"userApiUrl,omitempty"` // contains filtered or unexported fields }
func (*ProviderConfig) Descriptor
deprecated
func (*ProviderConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.
func (*ProviderConfig) GetAuthUrl ¶
func (x *ProviderConfig) GetAuthUrl() string
func (*ProviderConfig) GetClientId ¶
func (x *ProviderConfig) GetClientId() string
func (*ProviderConfig) GetClientSecret ¶
func (x *ProviderConfig) GetClientSecret() string
func (*ProviderConfig) GetEnabled ¶
func (x *ProviderConfig) GetEnabled() bool
func (*ProviderConfig) GetNamespace ¶
func (x *ProviderConfig) GetNamespace() string
func (*ProviderConfig) GetTokenUrl ¶
func (x *ProviderConfig) GetTokenUrl() string
func (*ProviderConfig) GetType ¶
func (x *ProviderConfig) GetType() ProviderType
func (*ProviderConfig) GetUserApiUrl ¶
func (x *ProviderConfig) GetUserApiUrl() string
func (*ProviderConfig) ProtoMessage ¶
func (*ProviderConfig) ProtoMessage()
func (*ProviderConfig) ProtoReflect ¶
func (x *ProviderConfig) ProtoReflect() protoreflect.Message
func (*ProviderConfig) Reset ¶
func (x *ProviderConfig) Reset()
func (*ProviderConfig) String ¶
func (x *ProviderConfig) String() string
type ProviderType ¶
type ProviderType int32
const ( ProviderType_GOOGLE ProviderType = 0 ProviderType_FACEBOOK ProviderType = 1 ProviderType_GITHUB ProviderType = 2 ProviderType_MICROSOFT ProviderType = 3 ProviderType_TWITTER ProviderType = 4 ProviderType_APPLE ProviderType = 5 ProviderType_GITLAB ProviderType = 6 ProviderType_DISCORD ProviderType = 7 ProviderType_OIDC ProviderType = 8 ProviderType_OIDC2 ProviderType = 9 ProviderType_OIDC3 ProviderType = 10 ProviderType_INSTAGRAM ProviderType = 11 )
func (ProviderType) Descriptor ¶
func (ProviderType) Descriptor() protoreflect.EnumDescriptor
func (ProviderType) Enum ¶
func (x ProviderType) Enum() *ProviderType
func (ProviderType) EnumDescriptor
deprecated
func (ProviderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProviderType.Descriptor instead.
func (ProviderType) Number ¶
func (x ProviderType) Number() protoreflect.EnumNumber
func (ProviderType) String ¶
func (x ProviderType) String() string
func (ProviderType) Type ¶
func (ProviderType) Type() protoreflect.EnumType
type ProviderUserDetails ¶
type ProviderUserDetails struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` AvatarUrl string `protobuf:"bytes,5,opt,name=avatarUrl,proto3" json:"avatarUrl,omitempty"` // contains filtered or unexported fields }
func (*ProviderUserDetails) Descriptor
deprecated
func (*ProviderUserDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProviderUserDetails.ProtoReflect.Descriptor instead.
func (*ProviderUserDetails) GetAvatarUrl ¶
func (x *ProviderUserDetails) GetAvatarUrl() string
func (*ProviderUserDetails) GetEmail ¶
func (x *ProviderUserDetails) GetEmail() string
func (*ProviderUserDetails) GetId ¶
func (x *ProviderUserDetails) GetId() string
func (*ProviderUserDetails) GetName ¶
func (x *ProviderUserDetails) GetName() string
func (*ProviderUserDetails) GetUsername ¶
func (x *ProviderUserDetails) GetUsername() string
func (*ProviderUserDetails) ProtoMessage ¶
func (*ProviderUserDetails) ProtoMessage()
func (*ProviderUserDetails) ProtoReflect ¶
func (x *ProviderUserDetails) ProtoReflect() protoreflect.Message
func (*ProviderUserDetails) Reset ¶
func (x *ProviderUserDetails) Reset()
func (*ProviderUserDetails) String ¶
func (x *ProviderUserDetails) String() string
type RegisterProviderForIdentityRequest ¶
type RegisterProviderForIdentityRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` Provider ProviderType `protobuf:"varint,3,opt,name=provider,proto3,enum=native_iam_authentication_oauth2.ProviderType" json:"provider,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` CodeVerifier string `protobuf:"bytes,5,opt,name=codeVerifier,proto3" json:"codeVerifier,omitempty"` RedirectUrl string `protobuf:"bytes,6,opt,name=redirectUrl,proto3" json:"redirectUrl,omitempty"` // contains filtered or unexported fields }
func (*RegisterProviderForIdentityRequest) Descriptor
deprecated
func (*RegisterProviderForIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterProviderForIdentityRequest.ProtoReflect.Descriptor instead.
func (*RegisterProviderForIdentityRequest) GetCode ¶
func (x *RegisterProviderForIdentityRequest) GetCode() string
func (*RegisterProviderForIdentityRequest) GetCodeVerifier ¶
func (x *RegisterProviderForIdentityRequest) GetCodeVerifier() string
func (*RegisterProviderForIdentityRequest) GetIdentity ¶
func (x *RegisterProviderForIdentityRequest) GetIdentity() string
func (*RegisterProviderForIdentityRequest) GetNamespace ¶
func (x *RegisterProviderForIdentityRequest) GetNamespace() string
func (*RegisterProviderForIdentityRequest) GetProvider ¶
func (x *RegisterProviderForIdentityRequest) GetProvider() ProviderType
func (*RegisterProviderForIdentityRequest) GetRedirectUrl ¶
func (x *RegisterProviderForIdentityRequest) GetRedirectUrl() string
func (*RegisterProviderForIdentityRequest) ProtoMessage ¶
func (*RegisterProviderForIdentityRequest) ProtoMessage()
func (*RegisterProviderForIdentityRequest) ProtoReflect ¶
func (x *RegisterProviderForIdentityRequest) ProtoReflect() protoreflect.Message
func (*RegisterProviderForIdentityRequest) Reset ¶
func (x *RegisterProviderForIdentityRequest) Reset()
func (*RegisterProviderForIdentityRequest) String ¶
func (x *RegisterProviderForIdentityRequest) String() string
type RegisterProviderForIdentityResponse ¶
type RegisterProviderForIdentityResponse struct { Status RegisterProviderForIdentityResponse_Status `` /* 147-byte string literal not displayed */ UserDetails *ProviderUserDetails `protobuf:"bytes,3,opt,name=userDetails,proto3" json:"userDetails,omitempty"` // contains filtered or unexported fields }
func (*RegisterProviderForIdentityResponse) Descriptor
deprecated
func (*RegisterProviderForIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterProviderForIdentityResponse.ProtoReflect.Descriptor instead.
func (*RegisterProviderForIdentityResponse) GetStatus ¶
func (x *RegisterProviderForIdentityResponse) GetStatus() RegisterProviderForIdentityResponse_Status
func (*RegisterProviderForIdentityResponse) GetUserDetails ¶
func (x *RegisterProviderForIdentityResponse) GetUserDetails() *ProviderUserDetails
func (*RegisterProviderForIdentityResponse) ProtoMessage ¶
func (*RegisterProviderForIdentityResponse) ProtoMessage()
func (*RegisterProviderForIdentityResponse) ProtoReflect ¶
func (x *RegisterProviderForIdentityResponse) ProtoReflect() protoreflect.Message
func (*RegisterProviderForIdentityResponse) Reset ¶
func (x *RegisterProviderForIdentityResponse) Reset()
func (*RegisterProviderForIdentityResponse) String ¶
func (x *RegisterProviderForIdentityResponse) String() string
type RegisterProviderForIdentityResponse_Status ¶
type RegisterProviderForIdentityResponse_Status int32
const ( RegisterProviderForIdentityResponse_OK RegisterProviderForIdentityResponse_Status = 0 RegisterProviderForIdentityResponse_PROVIDER_DISABLED RegisterProviderForIdentityResponse_Status = 1 RegisterProviderForIdentityResponse_ERROR_WHILE_RETRIEVING_AUTH_TOKEN RegisterProviderForIdentityResponse_Status = 2 RegisterProviderForIdentityResponse_ERROR_WHILE_FETCHING_USER_DETAILS RegisterProviderForIdentityResponse_Status = 3 RegisterProviderForIdentityResponse_ALREADY_REGISTERED RegisterProviderForIdentityResponse_Status = 4 )
func (RegisterProviderForIdentityResponse_Status) Descriptor ¶
func (RegisterProviderForIdentityResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (RegisterProviderForIdentityResponse_Status) EnumDescriptor
deprecated
func (RegisterProviderForIdentityResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use RegisterProviderForIdentityResponse_Status.Descriptor instead.
func (RegisterProviderForIdentityResponse_Status) Number ¶
func (x RegisterProviderForIdentityResponse_Status) Number() protoreflect.EnumNumber
func (RegisterProviderForIdentityResponse_Status) String ¶
func (x RegisterProviderForIdentityResponse_Status) String() string
func (RegisterProviderForIdentityResponse_Status) Type ¶
func (RegisterProviderForIdentityResponse_Status) Type() protoreflect.EnumType
type UnimplementedIAMAuthenticationOAuth2ConfigServiceServer ¶
type UnimplementedIAMAuthenticationOAuth2ConfigServiceServer struct { }
UnimplementedIAMAuthenticationOAuth2ConfigServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) GetAvailableProviders ¶
func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) GetAvailableProviders(context.Context, *GetAvailableProvidersRequest) (*GetAvailableProvidersResponse, error)
func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) ListProviderConfigs ¶
func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) ListProviderConfigs(context.Context, *ListProviderConfigsRequest) (*ListProviderConfigsResponse, error)
func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) UpdateProviderConfig ¶
func (UnimplementedIAMAuthenticationOAuth2ConfigServiceServer) UpdateProviderConfig(context.Context, *UpdateProviderConfigRequest) (*UpdateProviderConfigResponse, error)
type UnimplementedIAMAuthenticationOAuth2ServiceServer ¶
type UnimplementedIAMAuthenticationOAuth2ServiceServer struct { }
UnimplementedIAMAuthenticationOAuth2ServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) Authenticate ¶
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) ForgetIdentityProvider ¶
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) ForgetIdentityProvider(context.Context, *ForgetIdentityProviderRequest) (*ForgetIdentityProviderResponse, error)
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) GetRegisteredIdentityProviders ¶
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) GetRegisteredIdentityProviders(context.Context, *GetRegisteredIdentityProvidersRequest) (*GetRegisteredIdentityProvidersResponse, error)
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) RegisterProviderForIdentity ¶
func (UnimplementedIAMAuthenticationOAuth2ServiceServer) RegisterProviderForIdentity(context.Context, *RegisterProviderForIdentityRequest) (*RegisterProviderForIdentityResponse, error)
type UnsafeIAMAuthenticationOAuth2ConfigServiceServer ¶
type UnsafeIAMAuthenticationOAuth2ConfigServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIAMAuthenticationOAuth2ConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IAMAuthenticationOAuth2ConfigServiceServer will result in compilation errors.
type UnsafeIAMAuthenticationOAuth2ServiceServer ¶
type UnsafeIAMAuthenticationOAuth2ServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIAMAuthenticationOAuth2ServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IAMAuthenticationOAuth2ServiceServer will result in compilation errors.
type UpdateProviderConfigRequest ¶
type UpdateProviderConfigRequest struct { Config *ProviderConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*UpdateProviderConfigRequest) Descriptor
deprecated
func (*UpdateProviderConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProviderConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateProviderConfigRequest) GetConfig ¶
func (x *UpdateProviderConfigRequest) GetConfig() *ProviderConfig
func (*UpdateProviderConfigRequest) ProtoMessage ¶
func (*UpdateProviderConfigRequest) ProtoMessage()
func (*UpdateProviderConfigRequest) ProtoReflect ¶
func (x *UpdateProviderConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateProviderConfigRequest) Reset ¶
func (x *UpdateProviderConfigRequest) Reset()
func (*UpdateProviderConfigRequest) String ¶
func (x *UpdateProviderConfigRequest) String() string
type UpdateProviderConfigResponse ¶
type UpdateProviderConfigResponse struct {
// contains filtered or unexported fields
}
func (*UpdateProviderConfigResponse) Descriptor
deprecated
func (*UpdateProviderConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProviderConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateProviderConfigResponse) ProtoMessage ¶
func (*UpdateProviderConfigResponse) ProtoMessage()
func (*UpdateProviderConfigResponse) ProtoReflect ¶
func (x *UpdateProviderConfigResponse) ProtoReflect() protoreflect.Message
func (*UpdateProviderConfigResponse) Reset ¶
func (x *UpdateProviderConfigResponse) Reset()
func (*UpdateProviderConfigResponse) String ¶
func (x *UpdateProviderConfigResponse) String() string