Documentation ¶
Index ¶
- Constants
- Variables
- func IsErrAlreadyExists(err error) bool
- func IsErrInvalidID(err error) bool
- func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
- type APIClient
- type APIServer
- type CreateIDPConnectorRequest
- func (*CreateIDPConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIDPConnectorRequest) GetConnector() *IDPConnector
- func (x *CreateIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*CreateIDPConnectorRequest) ProtoMessage()
- func (x *CreateIDPConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIDPConnectorRequest) Reset()
- func (x *CreateIDPConnectorRequest) String() string
- type CreateIDPConnectorResponse
- func (*CreateIDPConnectorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*CreateIDPConnectorResponse) ProtoMessage()
- func (x *CreateIDPConnectorResponse) ProtoReflect() protoreflect.Message
- func (x *CreateIDPConnectorResponse) Reset()
- func (x *CreateIDPConnectorResponse) String() string
- type CreateOIDCClientRequest
- func (*CreateOIDCClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOIDCClientRequest) GetClient() *OIDCClient
- func (x *CreateOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*CreateOIDCClientRequest) ProtoMessage()
- func (x *CreateOIDCClientRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOIDCClientRequest) Reset()
- func (x *CreateOIDCClientRequest) String() string
- type CreateOIDCClientResponse
- func (*CreateOIDCClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOIDCClientResponse) GetClient() *OIDCClient
- func (x *CreateOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*CreateOIDCClientResponse) ProtoMessage()
- func (x *CreateOIDCClientResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOIDCClientResponse) Reset()
- func (x *CreateOIDCClientResponse) String() string
- type DeleteAllRequest
- func (*DeleteAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteAllRequest) ProtoMessage()
- func (x *DeleteAllRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllRequest) Reset()
- func (x *DeleteAllRequest) String() string
- type DeleteAllResponse
- func (*DeleteAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAllResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteAllResponse) ProtoMessage()
- func (x *DeleteAllResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAllResponse) Reset()
- func (x *DeleteAllResponse) String() string
- type DeleteIDPConnectorRequest
- func (*DeleteIDPConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIDPConnectorRequest) GetId() string
- func (x *DeleteIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteIDPConnectorRequest) ProtoMessage()
- func (x *DeleteIDPConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIDPConnectorRequest) Reset()
- func (x *DeleteIDPConnectorRequest) String() string
- type DeleteIDPConnectorResponse
- func (*DeleteIDPConnectorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteIDPConnectorResponse) ProtoMessage()
- func (x *DeleteIDPConnectorResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteIDPConnectorResponse) Reset()
- func (x *DeleteIDPConnectorResponse) String() string
- type DeleteOIDCClientRequest
- func (*DeleteOIDCClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOIDCClientRequest) GetId() string
- func (x *DeleteOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteOIDCClientRequest) ProtoMessage()
- func (x *DeleteOIDCClientRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOIDCClientRequest) Reset()
- func (x *DeleteOIDCClientRequest) String() string
- type DeleteOIDCClientResponse
- func (*DeleteOIDCClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*DeleteOIDCClientResponse) ProtoMessage()
- func (x *DeleteOIDCClientResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteOIDCClientResponse) Reset()
- func (x *DeleteOIDCClientResponse) String() string
- type GetIDPConnectorRequest
- func (*GetIDPConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIDPConnectorRequest) GetId() string
- func (x *GetIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetIDPConnectorRequest) ProtoMessage()
- func (x *GetIDPConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *GetIDPConnectorRequest) Reset()
- func (x *GetIDPConnectorRequest) String() string
- type GetIDPConnectorResponse
- func (*GetIDPConnectorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIDPConnectorResponse) GetConnector() *IDPConnector
- func (x *GetIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetIDPConnectorResponse) ProtoMessage()
- func (x *GetIDPConnectorResponse) ProtoReflect() protoreflect.Message
- func (x *GetIDPConnectorResponse) Reset()
- func (x *GetIDPConnectorResponse) String() string
- type GetIdentityServerConfigRequest
- func (*GetIdentityServerConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityServerConfigRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetIdentityServerConfigRequest) ProtoMessage()
- func (x *GetIdentityServerConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityServerConfigRequest) Reset()
- func (x *GetIdentityServerConfigRequest) String() string
- type GetIdentityServerConfigResponse
- func (*GetIdentityServerConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityServerConfigResponse) GetConfig() *IdentityServerConfig
- func (x *GetIdentityServerConfigResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetIdentityServerConfigResponse) ProtoMessage()
- func (x *GetIdentityServerConfigResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityServerConfigResponse) Reset()
- func (x *GetIdentityServerConfigResponse) String() string
- type GetOIDCClientRequest
- func (*GetOIDCClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOIDCClientRequest) GetId() string
- func (x *GetOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetOIDCClientRequest) ProtoMessage()
- func (x *GetOIDCClientRequest) ProtoReflect() protoreflect.Message
- func (x *GetOIDCClientRequest) Reset()
- func (x *GetOIDCClientRequest) String() string
- type GetOIDCClientResponse
- func (*GetOIDCClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOIDCClientResponse) GetClient() *OIDCClient
- func (x *GetOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*GetOIDCClientResponse) ProtoMessage()
- func (x *GetOIDCClientResponse) ProtoReflect() protoreflect.Message
- func (x *GetOIDCClientResponse) Reset()
- func (x *GetOIDCClientResponse) String() string
- type IDPConnector
- func (*IDPConnector) Descriptor() ([]byte, []int)deprecated
- func (x *IDPConnector) GetConfig() *structpb.Struct
- func (x *IDPConnector) GetConfigVersion() int64
- func (x *IDPConnector) GetId() string
- func (x *IDPConnector) GetJsonConfig() string
- func (x *IDPConnector) GetName() string
- func (x *IDPConnector) GetType() string
- func (x *IDPConnector) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*IDPConnector) ProtoMessage()
- func (x *IDPConnector) ProtoReflect() protoreflect.Message
- func (x *IDPConnector) Reset()
- func (x *IDPConnector) String() string
- type IdentityServerConfig
- func (*IdentityServerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IdentityServerConfig) GetIdTokenExpiry() string
- func (x *IdentityServerConfig) GetIssuer() string
- func (x *IdentityServerConfig) GetRotationTokenExpiry() string
- func (x *IdentityServerConfig) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*IdentityServerConfig) ProtoMessage()
- func (x *IdentityServerConfig) ProtoReflect() protoreflect.Message
- func (x *IdentityServerConfig) Reset()
- func (x *IdentityServerConfig) String() string
- type ListIDPConnectorsRequest
- func (*ListIDPConnectorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIDPConnectorsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListIDPConnectorsRequest) ProtoMessage()
- func (x *ListIDPConnectorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIDPConnectorsRequest) Reset()
- func (x *ListIDPConnectorsRequest) String() string
- type ListIDPConnectorsResponse
- func (*ListIDPConnectorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIDPConnectorsResponse) GetConnectors() []*IDPConnector
- func (x *ListIDPConnectorsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListIDPConnectorsResponse) ProtoMessage()
- func (x *ListIDPConnectorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIDPConnectorsResponse) Reset()
- func (x *ListIDPConnectorsResponse) String() string
- type ListOIDCClientsRequest
- func (*ListOIDCClientsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOIDCClientsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListOIDCClientsRequest) ProtoMessage()
- func (x *ListOIDCClientsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOIDCClientsRequest) Reset()
- func (x *ListOIDCClientsRequest) String() string
- type ListOIDCClientsResponse
- func (*ListOIDCClientsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOIDCClientsResponse) GetClients() []*OIDCClient
- func (x *ListOIDCClientsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*ListOIDCClientsResponse) ProtoMessage()
- func (x *ListOIDCClientsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOIDCClientsResponse) Reset()
- func (x *ListOIDCClientsResponse) String() string
- type OIDCClient
- func (*OIDCClient) Descriptor() ([]byte, []int)deprecated
- func (x *OIDCClient) GetId() string
- func (x *OIDCClient) GetName() string
- func (x *OIDCClient) GetRedirectUris() []string
- func (x *OIDCClient) GetSecret() string
- func (x *OIDCClient) GetTrustedPeers() []string
- func (x *OIDCClient) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*OIDCClient) ProtoMessage()
- func (x *OIDCClient) ProtoReflect() protoreflect.Message
- func (x *OIDCClient) Reset()
- func (x *OIDCClient) String() string
- type SetIdentityServerConfigRequest
- func (*SetIdentityServerConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetIdentityServerConfigRequest) GetConfig() *IdentityServerConfig
- func (x *SetIdentityServerConfigRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*SetIdentityServerConfigRequest) ProtoMessage()
- func (x *SetIdentityServerConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SetIdentityServerConfigRequest) Reset()
- func (x *SetIdentityServerConfigRequest) String() string
- type SetIdentityServerConfigResponse
- func (*SetIdentityServerConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetIdentityServerConfigResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*SetIdentityServerConfigResponse) ProtoMessage()
- func (x *SetIdentityServerConfigResponse) ProtoReflect() protoreflect.Message
- func (x *SetIdentityServerConfigResponse) Reset()
- func (x *SetIdentityServerConfigResponse) String() string
- type UnimplementedAPIServer
- func (UnimplementedAPIServer) CreateIDPConnector(context.Context, *CreateIDPConnectorRequest) (*CreateIDPConnectorResponse, error)
- func (UnimplementedAPIServer) CreateOIDCClient(context.Context, *CreateOIDCClientRequest) (*CreateOIDCClientResponse, error)
- func (UnimplementedAPIServer) DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error)
- func (UnimplementedAPIServer) DeleteIDPConnector(context.Context, *DeleteIDPConnectorRequest) (*DeleteIDPConnectorResponse, error)
- func (UnimplementedAPIServer) DeleteOIDCClient(context.Context, *DeleteOIDCClientRequest) (*DeleteOIDCClientResponse, error)
- func (UnimplementedAPIServer) GetIDPConnector(context.Context, *GetIDPConnectorRequest) (*GetIDPConnectorResponse, error)
- func (UnimplementedAPIServer) GetIdentityServerConfig(context.Context, *GetIdentityServerConfigRequest) (*GetIdentityServerConfigResponse, error)
- func (UnimplementedAPIServer) GetOIDCClient(context.Context, *GetOIDCClientRequest) (*GetOIDCClientResponse, error)
- func (UnimplementedAPIServer) ListIDPConnectors(context.Context, *ListIDPConnectorsRequest) (*ListIDPConnectorsResponse, error)
- func (UnimplementedAPIServer) ListOIDCClients(context.Context, *ListOIDCClientsRequest) (*ListOIDCClientsResponse, error)
- func (UnimplementedAPIServer) SetIdentityServerConfig(context.Context, *SetIdentityServerConfigRequest) (*SetIdentityServerConfigResponse, error)
- func (UnimplementedAPIServer) UpdateIDPConnector(context.Context, *UpdateIDPConnectorRequest) (*UpdateIDPConnectorResponse, error)
- func (UnimplementedAPIServer) UpdateOIDCClient(context.Context, *UpdateOIDCClientRequest) (*UpdateOIDCClientResponse, error)
- type UnsafeAPIServer
- type UpdateIDPConnectorRequest
- func (*UpdateIDPConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIDPConnectorRequest) GetConnector() *IDPConnector
- func (x *UpdateIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UpdateIDPConnectorRequest) ProtoMessage()
- func (x *UpdateIDPConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIDPConnectorRequest) Reset()
- func (x *UpdateIDPConnectorRequest) String() string
- type UpdateIDPConnectorResponse
- func (*UpdateIDPConnectorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UpdateIDPConnectorResponse) ProtoMessage()
- func (x *UpdateIDPConnectorResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateIDPConnectorResponse) Reset()
- func (x *UpdateIDPConnectorResponse) String() string
- type UpdateOIDCClientRequest
- func (*UpdateOIDCClientRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOIDCClientRequest) GetClient() *OIDCClient
- func (x *UpdateOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UpdateOIDCClientRequest) ProtoMessage()
- func (x *UpdateOIDCClientRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOIDCClientRequest) Reset()
- func (x *UpdateOIDCClientRequest) String() string
- type UpdateOIDCClientResponse
- func (*UpdateOIDCClientResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*UpdateOIDCClientResponse) ProtoMessage()
- func (x *UpdateOIDCClientResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateOIDCClientResponse) Reset()
- func (x *UpdateOIDCClientResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetLastAuthenticated() *timestamppb.Timestamp
- func (x *User) MarshalLogObject(enc zapcore.ObjectEncoder) error
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
const ( API_SetIdentityServerConfig_FullMethodName = "/identity_v2.API/SetIdentityServerConfig" API_GetIdentityServerConfig_FullMethodName = "/identity_v2.API/GetIdentityServerConfig" API_CreateIDPConnector_FullMethodName = "/identity_v2.API/CreateIDPConnector" API_UpdateIDPConnector_FullMethodName = "/identity_v2.API/UpdateIDPConnector" API_ListIDPConnectors_FullMethodName = "/identity_v2.API/ListIDPConnectors" API_GetIDPConnector_FullMethodName = "/identity_v2.API/GetIDPConnector" API_DeleteIDPConnector_FullMethodName = "/identity_v2.API/DeleteIDPConnector" API_CreateOIDCClient_FullMethodName = "/identity_v2.API/CreateOIDCClient" API_UpdateOIDCClient_FullMethodName = "/identity_v2.API/UpdateOIDCClient" API_GetOIDCClient_FullMethodName = "/identity_v2.API/GetOIDCClient" API_ListOIDCClients_FullMethodName = "/identity_v2.API/ListOIDCClients" API_DeleteOIDCClient_FullMethodName = "/identity_v2.API/DeleteOIDCClient" API_DeleteAll_FullMethodName = "/identity_v2.API/DeleteAll" )
Variables ¶
var ( // ErrInvalidID is returned if the client or connector ID does not exist ErrInvalidID = status.Error(codes.Internal, "ID does not exist") // ErrAlreadyExists is returned if the client or connector ID already exists ErrAlreadyExists = status.Error(codes.Internal, "ID already exists") )
var API_ServiceDesc = grpc.ServiceDesc{ ServiceName: "identity_v2.API", HandlerType: (*APIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetIdentityServerConfig", Handler: _API_SetIdentityServerConfig_Handler, }, { MethodName: "GetIdentityServerConfig", Handler: _API_GetIdentityServerConfig_Handler, }, { MethodName: "CreateIDPConnector", Handler: _API_CreateIDPConnector_Handler, }, { MethodName: "UpdateIDPConnector", Handler: _API_UpdateIDPConnector_Handler, }, { MethodName: "ListIDPConnectors", Handler: _API_ListIDPConnectors_Handler, }, { MethodName: "GetIDPConnector", Handler: _API_GetIDPConnector_Handler, }, { MethodName: "DeleteIDPConnector", Handler: _API_DeleteIDPConnector_Handler, }, { MethodName: "CreateOIDCClient", Handler: _API_CreateOIDCClient_Handler, }, { MethodName: "UpdateOIDCClient", Handler: _API_UpdateOIDCClient_Handler, }, { MethodName: "GetOIDCClient", Handler: _API_GetOIDCClient_Handler, }, { MethodName: "ListOIDCClients", Handler: _API_ListOIDCClients_Handler, }, { MethodName: "DeleteOIDCClient", Handler: _API_DeleteOIDCClient_Handler, }, { MethodName: "DeleteAll", Handler: _API_DeleteAll_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "identity/identity.proto", }
API_ServiceDesc is the grpc.ServiceDesc for API service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_identity_identity_proto protoreflect.FileDescriptor
Functions ¶
func IsErrAlreadyExists ¶
IsErrAlreadyExists checks if an error is a ErrAlreadyExists
func IsErrInvalidID ¶
IsErrInvalidID checks if an error is a ErrInvalidID
func RegisterAPIServer ¶
func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)
Types ¶
type APIClient ¶
type APIClient interface { SetIdentityServerConfig(ctx context.Context, in *SetIdentityServerConfigRequest, opts ...grpc.CallOption) (*SetIdentityServerConfigResponse, error) GetIdentityServerConfig(ctx context.Context, in *GetIdentityServerConfigRequest, opts ...grpc.CallOption) (*GetIdentityServerConfigResponse, error) CreateIDPConnector(ctx context.Context, in *CreateIDPConnectorRequest, opts ...grpc.CallOption) (*CreateIDPConnectorResponse, error) UpdateIDPConnector(ctx context.Context, in *UpdateIDPConnectorRequest, opts ...grpc.CallOption) (*UpdateIDPConnectorResponse, error) ListIDPConnectors(ctx context.Context, in *ListIDPConnectorsRequest, opts ...grpc.CallOption) (*ListIDPConnectorsResponse, error) GetIDPConnector(ctx context.Context, in *GetIDPConnectorRequest, opts ...grpc.CallOption) (*GetIDPConnectorResponse, error) DeleteIDPConnector(ctx context.Context, in *DeleteIDPConnectorRequest, opts ...grpc.CallOption) (*DeleteIDPConnectorResponse, error) CreateOIDCClient(ctx context.Context, in *CreateOIDCClientRequest, opts ...grpc.CallOption) (*CreateOIDCClientResponse, error) UpdateOIDCClient(ctx context.Context, in *UpdateOIDCClientRequest, opts ...grpc.CallOption) (*UpdateOIDCClientResponse, error) GetOIDCClient(ctx context.Context, in *GetOIDCClientRequest, opts ...grpc.CallOption) (*GetOIDCClientResponse, error) ListOIDCClients(ctx context.Context, in *ListOIDCClientsRequest, opts ...grpc.CallOption) (*ListOIDCClientsResponse, error) DeleteOIDCClient(ctx context.Context, in *DeleteOIDCClientRequest, opts ...grpc.CallOption) (*DeleteOIDCClientResponse, error) DeleteAll(ctx context.Context, in *DeleteAllRequest, opts ...grpc.CallOption) (*DeleteAllResponse, error) }
APIClient is the client API for API 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 NewAPIClient ¶
func NewAPIClient(cc grpc.ClientConnInterface) APIClient
type APIServer ¶
type APIServer interface { SetIdentityServerConfig(context.Context, *SetIdentityServerConfigRequest) (*SetIdentityServerConfigResponse, error) GetIdentityServerConfig(context.Context, *GetIdentityServerConfigRequest) (*GetIdentityServerConfigResponse, error) CreateIDPConnector(context.Context, *CreateIDPConnectorRequest) (*CreateIDPConnectorResponse, error) UpdateIDPConnector(context.Context, *UpdateIDPConnectorRequest) (*UpdateIDPConnectorResponse, error) ListIDPConnectors(context.Context, *ListIDPConnectorsRequest) (*ListIDPConnectorsResponse, error) GetIDPConnector(context.Context, *GetIDPConnectorRequest) (*GetIDPConnectorResponse, error) DeleteIDPConnector(context.Context, *DeleteIDPConnectorRequest) (*DeleteIDPConnectorResponse, error) CreateOIDCClient(context.Context, *CreateOIDCClientRequest) (*CreateOIDCClientResponse, error) UpdateOIDCClient(context.Context, *UpdateOIDCClientRequest) (*UpdateOIDCClientResponse, error) GetOIDCClient(context.Context, *GetOIDCClientRequest) (*GetOIDCClientResponse, error) ListOIDCClients(context.Context, *ListOIDCClientsRequest) (*ListOIDCClientsResponse, error) DeleteOIDCClient(context.Context, *DeleteOIDCClientRequest) (*DeleteOIDCClientResponse, error) DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error) // contains filtered or unexported methods }
APIServer is the server API for API service. All implementations must embed UnimplementedAPIServer for forward compatibility
type CreateIDPConnectorRequest ¶
type CreateIDPConnectorRequest struct { Connector *IDPConnector `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"` // contains filtered or unexported fields }
func (*CreateIDPConnectorRequest) Descriptor
deprecated
func (*CreateIDPConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIDPConnectorRequest.ProtoReflect.Descriptor instead.
func (*CreateIDPConnectorRequest) GetConnector ¶
func (x *CreateIDPConnectorRequest) GetConnector() *IDPConnector
func (*CreateIDPConnectorRequest) MarshalLogObject ¶
func (x *CreateIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*CreateIDPConnectorRequest) ProtoMessage ¶
func (*CreateIDPConnectorRequest) ProtoMessage()
func (*CreateIDPConnectorRequest) ProtoReflect ¶ added in v2.7.0
func (x *CreateIDPConnectorRequest) ProtoReflect() protoreflect.Message
func (*CreateIDPConnectorRequest) Reset ¶
func (x *CreateIDPConnectorRequest) Reset()
func (*CreateIDPConnectorRequest) String ¶
func (x *CreateIDPConnectorRequest) String() string
type CreateIDPConnectorResponse ¶
type CreateIDPConnectorResponse struct {
// contains filtered or unexported fields
}
func (*CreateIDPConnectorResponse) Descriptor
deprecated
func (*CreateIDPConnectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateIDPConnectorResponse.ProtoReflect.Descriptor instead.
func (*CreateIDPConnectorResponse) MarshalLogObject ¶
func (x *CreateIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*CreateIDPConnectorResponse) ProtoMessage ¶
func (*CreateIDPConnectorResponse) ProtoMessage()
func (*CreateIDPConnectorResponse) ProtoReflect ¶ added in v2.7.0
func (x *CreateIDPConnectorResponse) ProtoReflect() protoreflect.Message
func (*CreateIDPConnectorResponse) Reset ¶
func (x *CreateIDPConnectorResponse) Reset()
func (*CreateIDPConnectorResponse) String ¶
func (x *CreateIDPConnectorResponse) String() string
type CreateOIDCClientRequest ¶
type CreateOIDCClientRequest struct { Client *OIDCClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*CreateOIDCClientRequest) Descriptor
deprecated
func (*CreateOIDCClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOIDCClientRequest.ProtoReflect.Descriptor instead.
func (*CreateOIDCClientRequest) GetClient ¶
func (x *CreateOIDCClientRequest) GetClient() *OIDCClient
func (*CreateOIDCClientRequest) MarshalLogObject ¶
func (x *CreateOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*CreateOIDCClientRequest) ProtoMessage ¶
func (*CreateOIDCClientRequest) ProtoMessage()
func (*CreateOIDCClientRequest) ProtoReflect ¶ added in v2.7.0
func (x *CreateOIDCClientRequest) ProtoReflect() protoreflect.Message
func (*CreateOIDCClientRequest) Reset ¶
func (x *CreateOIDCClientRequest) Reset()
func (*CreateOIDCClientRequest) String ¶
func (x *CreateOIDCClientRequest) String() string
type CreateOIDCClientResponse ¶
type CreateOIDCClientResponse struct { Client *OIDCClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*CreateOIDCClientResponse) Descriptor
deprecated
func (*CreateOIDCClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOIDCClientResponse.ProtoReflect.Descriptor instead.
func (*CreateOIDCClientResponse) GetClient ¶
func (x *CreateOIDCClientResponse) GetClient() *OIDCClient
func (*CreateOIDCClientResponse) MarshalLogObject ¶
func (x *CreateOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*CreateOIDCClientResponse) ProtoMessage ¶
func (*CreateOIDCClientResponse) ProtoMessage()
func (*CreateOIDCClientResponse) ProtoReflect ¶ added in v2.7.0
func (x *CreateOIDCClientResponse) ProtoReflect() protoreflect.Message
func (*CreateOIDCClientResponse) Reset ¶
func (x *CreateOIDCClientResponse) Reset()
func (*CreateOIDCClientResponse) String ¶
func (x *CreateOIDCClientResponse) String() string
type DeleteAllRequest ¶
type DeleteAllRequest struct {
// contains filtered or unexported fields
}
func (*DeleteAllRequest) Descriptor
deprecated
func (*DeleteAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllRequest) MarshalLogObject ¶
func (x *DeleteAllRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteAllRequest) ProtoMessage ¶
func (*DeleteAllRequest) ProtoMessage()
func (*DeleteAllRequest) ProtoReflect ¶ added in v2.7.0
func (x *DeleteAllRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllRequest) Reset ¶
func (x *DeleteAllRequest) Reset()
func (*DeleteAllRequest) String ¶
func (x *DeleteAllRequest) String() string
type DeleteAllResponse ¶
type DeleteAllResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAllResponse) Descriptor
deprecated
func (*DeleteAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllResponse.ProtoReflect.Descriptor instead.
func (*DeleteAllResponse) MarshalLogObject ¶
func (x *DeleteAllResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteAllResponse) ProtoMessage ¶
func (*DeleteAllResponse) ProtoMessage()
func (*DeleteAllResponse) ProtoReflect ¶ added in v2.7.0
func (x *DeleteAllResponse) ProtoReflect() protoreflect.Message
func (*DeleteAllResponse) Reset ¶
func (x *DeleteAllResponse) Reset()
func (*DeleteAllResponse) String ¶
func (x *DeleteAllResponse) String() string
type DeleteIDPConnectorRequest ¶
type DeleteIDPConnectorRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteIDPConnectorRequest) Descriptor
deprecated
func (*DeleteIDPConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIDPConnectorRequest.ProtoReflect.Descriptor instead.
func (*DeleteIDPConnectorRequest) GetId ¶
func (x *DeleteIDPConnectorRequest) GetId() string
func (*DeleteIDPConnectorRequest) MarshalLogObject ¶
func (x *DeleteIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteIDPConnectorRequest) ProtoMessage ¶
func (*DeleteIDPConnectorRequest) ProtoMessage()
func (*DeleteIDPConnectorRequest) ProtoReflect ¶ added in v2.7.0
func (x *DeleteIDPConnectorRequest) ProtoReflect() protoreflect.Message
func (*DeleteIDPConnectorRequest) Reset ¶
func (x *DeleteIDPConnectorRequest) Reset()
func (*DeleteIDPConnectorRequest) String ¶
func (x *DeleteIDPConnectorRequest) String() string
type DeleteIDPConnectorResponse ¶
type DeleteIDPConnectorResponse struct {
// contains filtered or unexported fields
}
func (*DeleteIDPConnectorResponse) Descriptor
deprecated
func (*DeleteIDPConnectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIDPConnectorResponse.ProtoReflect.Descriptor instead.
func (*DeleteIDPConnectorResponse) MarshalLogObject ¶
func (x *DeleteIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteIDPConnectorResponse) ProtoMessage ¶
func (*DeleteIDPConnectorResponse) ProtoMessage()
func (*DeleteIDPConnectorResponse) ProtoReflect ¶ added in v2.7.0
func (x *DeleteIDPConnectorResponse) ProtoReflect() protoreflect.Message
func (*DeleteIDPConnectorResponse) Reset ¶
func (x *DeleteIDPConnectorResponse) Reset()
func (*DeleteIDPConnectorResponse) String ¶
func (x *DeleteIDPConnectorResponse) String() string
type DeleteOIDCClientRequest ¶
type DeleteOIDCClientRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteOIDCClientRequest) Descriptor
deprecated
func (*DeleteOIDCClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOIDCClientRequest.ProtoReflect.Descriptor instead.
func (*DeleteOIDCClientRequest) GetId ¶
func (x *DeleteOIDCClientRequest) GetId() string
func (*DeleteOIDCClientRequest) MarshalLogObject ¶
func (x *DeleteOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteOIDCClientRequest) ProtoMessage ¶
func (*DeleteOIDCClientRequest) ProtoMessage()
func (*DeleteOIDCClientRequest) ProtoReflect ¶ added in v2.7.0
func (x *DeleteOIDCClientRequest) ProtoReflect() protoreflect.Message
func (*DeleteOIDCClientRequest) Reset ¶
func (x *DeleteOIDCClientRequest) Reset()
func (*DeleteOIDCClientRequest) String ¶
func (x *DeleteOIDCClientRequest) String() string
type DeleteOIDCClientResponse ¶
type DeleteOIDCClientResponse struct {
// contains filtered or unexported fields
}
func (*DeleteOIDCClientResponse) Descriptor
deprecated
func (*DeleteOIDCClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOIDCClientResponse.ProtoReflect.Descriptor instead.
func (*DeleteOIDCClientResponse) MarshalLogObject ¶
func (x *DeleteOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*DeleteOIDCClientResponse) ProtoMessage ¶
func (*DeleteOIDCClientResponse) ProtoMessage()
func (*DeleteOIDCClientResponse) ProtoReflect ¶ added in v2.7.0
func (x *DeleteOIDCClientResponse) ProtoReflect() protoreflect.Message
func (*DeleteOIDCClientResponse) Reset ¶
func (x *DeleteOIDCClientResponse) Reset()
func (*DeleteOIDCClientResponse) String ¶
func (x *DeleteOIDCClientResponse) String() string
type GetIDPConnectorRequest ¶
type GetIDPConnectorRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetIDPConnectorRequest) Descriptor
deprecated
func (*GetIDPConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIDPConnectorRequest.ProtoReflect.Descriptor instead.
func (*GetIDPConnectorRequest) GetId ¶
func (x *GetIDPConnectorRequest) GetId() string
func (*GetIDPConnectorRequest) MarshalLogObject ¶
func (x *GetIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetIDPConnectorRequest) ProtoMessage ¶
func (*GetIDPConnectorRequest) ProtoMessage()
func (*GetIDPConnectorRequest) ProtoReflect ¶ added in v2.7.0
func (x *GetIDPConnectorRequest) ProtoReflect() protoreflect.Message
func (*GetIDPConnectorRequest) Reset ¶
func (x *GetIDPConnectorRequest) Reset()
func (*GetIDPConnectorRequest) String ¶
func (x *GetIDPConnectorRequest) String() string
type GetIDPConnectorResponse ¶
type GetIDPConnectorResponse struct { Connector *IDPConnector `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"` // contains filtered or unexported fields }
func (*GetIDPConnectorResponse) Descriptor
deprecated
func (*GetIDPConnectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIDPConnectorResponse.ProtoReflect.Descriptor instead.
func (*GetIDPConnectorResponse) GetConnector ¶
func (x *GetIDPConnectorResponse) GetConnector() *IDPConnector
func (*GetIDPConnectorResponse) MarshalLogObject ¶
func (x *GetIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetIDPConnectorResponse) ProtoMessage ¶
func (*GetIDPConnectorResponse) ProtoMessage()
func (*GetIDPConnectorResponse) ProtoReflect ¶ added in v2.7.0
func (x *GetIDPConnectorResponse) ProtoReflect() protoreflect.Message
func (*GetIDPConnectorResponse) Reset ¶
func (x *GetIDPConnectorResponse) Reset()
func (*GetIDPConnectorResponse) String ¶
func (x *GetIDPConnectorResponse) String() string
type GetIdentityServerConfigRequest ¶
type GetIdentityServerConfigRequest struct {
// contains filtered or unexported fields
}
func (*GetIdentityServerConfigRequest) Descriptor
deprecated
func (*GetIdentityServerConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityServerConfigRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityServerConfigRequest) MarshalLogObject ¶
func (x *GetIdentityServerConfigRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetIdentityServerConfigRequest) ProtoMessage ¶
func (*GetIdentityServerConfigRequest) ProtoMessage()
func (*GetIdentityServerConfigRequest) ProtoReflect ¶ added in v2.7.0
func (x *GetIdentityServerConfigRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityServerConfigRequest) Reset ¶
func (x *GetIdentityServerConfigRequest) Reset()
func (*GetIdentityServerConfigRequest) String ¶
func (x *GetIdentityServerConfigRequest) String() string
type GetIdentityServerConfigResponse ¶
type GetIdentityServerConfigResponse struct { Config *IdentityServerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityServerConfigResponse) Descriptor
deprecated
func (*GetIdentityServerConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityServerConfigResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityServerConfigResponse) GetConfig ¶
func (x *GetIdentityServerConfigResponse) GetConfig() *IdentityServerConfig
func (*GetIdentityServerConfigResponse) MarshalLogObject ¶
func (x *GetIdentityServerConfigResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetIdentityServerConfigResponse) ProtoMessage ¶
func (*GetIdentityServerConfigResponse) ProtoMessage()
func (*GetIdentityServerConfigResponse) ProtoReflect ¶ added in v2.7.0
func (x *GetIdentityServerConfigResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityServerConfigResponse) Reset ¶
func (x *GetIdentityServerConfigResponse) Reset()
func (*GetIdentityServerConfigResponse) String ¶
func (x *GetIdentityServerConfigResponse) String() string
type GetOIDCClientRequest ¶
type GetOIDCClientRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetOIDCClientRequest) Descriptor
deprecated
func (*GetOIDCClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCClientRequest.ProtoReflect.Descriptor instead.
func (*GetOIDCClientRequest) GetId ¶
func (x *GetOIDCClientRequest) GetId() string
func (*GetOIDCClientRequest) MarshalLogObject ¶
func (x *GetOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetOIDCClientRequest) ProtoMessage ¶
func (*GetOIDCClientRequest) ProtoMessage()
func (*GetOIDCClientRequest) ProtoReflect ¶ added in v2.7.0
func (x *GetOIDCClientRequest) ProtoReflect() protoreflect.Message
func (*GetOIDCClientRequest) Reset ¶
func (x *GetOIDCClientRequest) Reset()
func (*GetOIDCClientRequest) String ¶
func (x *GetOIDCClientRequest) String() string
type GetOIDCClientResponse ¶
type GetOIDCClientResponse struct { Client *OIDCClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*GetOIDCClientResponse) Descriptor
deprecated
func (*GetOIDCClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOIDCClientResponse.ProtoReflect.Descriptor instead.
func (*GetOIDCClientResponse) GetClient ¶
func (x *GetOIDCClientResponse) GetClient() *OIDCClient
func (*GetOIDCClientResponse) MarshalLogObject ¶
func (x *GetOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*GetOIDCClientResponse) ProtoMessage ¶
func (*GetOIDCClientResponse) ProtoMessage()
func (*GetOIDCClientResponse) ProtoReflect ¶ added in v2.7.0
func (x *GetOIDCClientResponse) ProtoReflect() protoreflect.Message
func (*GetOIDCClientResponse) Reset ¶
func (x *GetOIDCClientResponse) Reset()
func (*GetOIDCClientResponse) String ¶
func (x *GetOIDCClientResponse) String() string
type IDPConnector ¶
type IDPConnector struct { // ID is the unique identifier for this connector. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name is the human-readable identifier for this connector, // which will be shown to end users when they're authenticating. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Type is the type of the IDP ex. `saml`, `oidc`, `github`. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // ConfigVersion must be incremented every time a connector is // updated, to avoid concurrent updates conflicting. ConfigVersion int64 `protobuf:"varint,4,opt,name=configVersion,proto3" json:"configVersion,omitempty"` // This is left for backwards compatibility, but we want users to use the config defined below. JsonConfig string `protobuf:"bytes,5,opt,name=jsonConfig,proto3" json:"jsonConfig,omitempty"` // Config is the configuration for the upstream IDP, which varies based on the type. // We make the assumption that this is either yaml or JSON. Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
IDPConnector represents a connection to an identity provider
func (*IDPConnector) Descriptor
deprecated
func (*IDPConnector) Descriptor() ([]byte, []int)
Deprecated: Use IDPConnector.ProtoReflect.Descriptor instead.
func (*IDPConnector) GetConfig ¶
func (x *IDPConnector) GetConfig() *structpb.Struct
func (*IDPConnector) GetConfigVersion ¶
func (x *IDPConnector) GetConfigVersion() int64
func (*IDPConnector) GetId ¶
func (x *IDPConnector) GetId() string
func (*IDPConnector) GetJsonConfig ¶
func (x *IDPConnector) GetJsonConfig() string
func (*IDPConnector) GetName ¶
func (x *IDPConnector) GetName() string
func (*IDPConnector) GetType ¶
func (x *IDPConnector) GetType() string
func (*IDPConnector) MarshalLogObject ¶
func (x *IDPConnector) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*IDPConnector) ProtoMessage ¶
func (*IDPConnector) ProtoMessage()
func (*IDPConnector) ProtoReflect ¶ added in v2.7.0
func (x *IDPConnector) ProtoReflect() protoreflect.Message
func (*IDPConnector) Reset ¶
func (x *IDPConnector) Reset()
func (*IDPConnector) String ¶
func (x *IDPConnector) String() string
type IdentityServerConfig ¶
type IdentityServerConfig struct { Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` IdTokenExpiry string `protobuf:"bytes,2,opt,name=id_token_expiry,json=idTokenExpiry,proto3" json:"id_token_expiry,omitempty"` RotationTokenExpiry string `protobuf:"bytes,3,opt,name=rotation_token_expiry,json=rotationTokenExpiry,proto3" json:"rotation_token_expiry,omitempty"` // contains filtered or unexported fields }
IdentityServerConfig is the configuration for the identity web server. When the configuration is changed the web server is reloaded automatically.
func (*IdentityServerConfig) Descriptor
deprecated
func (*IdentityServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use IdentityServerConfig.ProtoReflect.Descriptor instead.
func (*IdentityServerConfig) GetIdTokenExpiry ¶
func (x *IdentityServerConfig) GetIdTokenExpiry() string
func (*IdentityServerConfig) GetIssuer ¶
func (x *IdentityServerConfig) GetIssuer() string
func (*IdentityServerConfig) GetRotationTokenExpiry ¶
func (x *IdentityServerConfig) GetRotationTokenExpiry() string
func (*IdentityServerConfig) MarshalLogObject ¶
func (x *IdentityServerConfig) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*IdentityServerConfig) ProtoMessage ¶
func (*IdentityServerConfig) ProtoMessage()
func (*IdentityServerConfig) ProtoReflect ¶ added in v2.7.0
func (x *IdentityServerConfig) ProtoReflect() protoreflect.Message
func (*IdentityServerConfig) Reset ¶
func (x *IdentityServerConfig) Reset()
func (*IdentityServerConfig) String ¶
func (x *IdentityServerConfig) String() string
type ListIDPConnectorsRequest ¶
type ListIDPConnectorsRequest struct {
// contains filtered or unexported fields
}
func (*ListIDPConnectorsRequest) Descriptor
deprecated
func (*ListIDPConnectorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIDPConnectorsRequest.ProtoReflect.Descriptor instead.
func (*ListIDPConnectorsRequest) MarshalLogObject ¶
func (x *ListIDPConnectorsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListIDPConnectorsRequest) ProtoMessage ¶
func (*ListIDPConnectorsRequest) ProtoMessage()
func (*ListIDPConnectorsRequest) ProtoReflect ¶ added in v2.7.0
func (x *ListIDPConnectorsRequest) ProtoReflect() protoreflect.Message
func (*ListIDPConnectorsRequest) Reset ¶
func (x *ListIDPConnectorsRequest) Reset()
func (*ListIDPConnectorsRequest) String ¶
func (x *ListIDPConnectorsRequest) String() string
type ListIDPConnectorsResponse ¶
type ListIDPConnectorsResponse struct { Connectors []*IDPConnector `protobuf:"bytes,1,rep,name=connectors,proto3" json:"connectors,omitempty"` // contains filtered or unexported fields }
func (*ListIDPConnectorsResponse) Descriptor
deprecated
func (*ListIDPConnectorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIDPConnectorsResponse.ProtoReflect.Descriptor instead.
func (*ListIDPConnectorsResponse) GetConnectors ¶
func (x *ListIDPConnectorsResponse) GetConnectors() []*IDPConnector
func (*ListIDPConnectorsResponse) MarshalLogObject ¶
func (x *ListIDPConnectorsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListIDPConnectorsResponse) ProtoMessage ¶
func (*ListIDPConnectorsResponse) ProtoMessage()
func (*ListIDPConnectorsResponse) ProtoReflect ¶ added in v2.7.0
func (x *ListIDPConnectorsResponse) ProtoReflect() protoreflect.Message
func (*ListIDPConnectorsResponse) Reset ¶
func (x *ListIDPConnectorsResponse) Reset()
func (*ListIDPConnectorsResponse) String ¶
func (x *ListIDPConnectorsResponse) String() string
type ListOIDCClientsRequest ¶
type ListOIDCClientsRequest struct {
// contains filtered or unexported fields
}
func (*ListOIDCClientsRequest) Descriptor
deprecated
func (*ListOIDCClientsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOIDCClientsRequest.ProtoReflect.Descriptor instead.
func (*ListOIDCClientsRequest) MarshalLogObject ¶
func (x *ListOIDCClientsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListOIDCClientsRequest) ProtoMessage ¶
func (*ListOIDCClientsRequest) ProtoMessage()
func (*ListOIDCClientsRequest) ProtoReflect ¶ added in v2.7.0
func (x *ListOIDCClientsRequest) ProtoReflect() protoreflect.Message
func (*ListOIDCClientsRequest) Reset ¶
func (x *ListOIDCClientsRequest) Reset()
func (*ListOIDCClientsRequest) String ¶
func (x *ListOIDCClientsRequest) String() string
type ListOIDCClientsResponse ¶
type ListOIDCClientsResponse struct { Clients []*OIDCClient `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` // contains filtered or unexported fields }
func (*ListOIDCClientsResponse) Descriptor
deprecated
func (*ListOIDCClientsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOIDCClientsResponse.ProtoReflect.Descriptor instead.
func (*ListOIDCClientsResponse) GetClients ¶
func (x *ListOIDCClientsResponse) GetClients() []*OIDCClient
func (*ListOIDCClientsResponse) MarshalLogObject ¶
func (x *ListOIDCClientsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*ListOIDCClientsResponse) ProtoMessage ¶
func (*ListOIDCClientsResponse) ProtoMessage()
func (*ListOIDCClientsResponse) ProtoReflect ¶ added in v2.7.0
func (x *ListOIDCClientsResponse) ProtoReflect() protoreflect.Message
func (*ListOIDCClientsResponse) Reset ¶
func (x *ListOIDCClientsResponse) Reset()
func (*ListOIDCClientsResponse) String ¶
func (x *ListOIDCClientsResponse) String() string
type OIDCClient ¶
type OIDCClient struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` RedirectUris []string `protobuf:"bytes,2,rep,name=redirect_uris,json=redirectUris,proto3" json:"redirect_uris,omitempty"` TrustedPeers []string `protobuf:"bytes,3,rep,name=trusted_peers,json=trustedPeers,proto3" json:"trusted_peers,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Secret string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*OIDCClient) Descriptor
deprecated
func (*OIDCClient) Descriptor() ([]byte, []int)
Deprecated: Use OIDCClient.ProtoReflect.Descriptor instead.
func (*OIDCClient) GetId ¶
func (x *OIDCClient) GetId() string
func (*OIDCClient) GetName ¶
func (x *OIDCClient) GetName() string
func (*OIDCClient) GetRedirectUris ¶
func (x *OIDCClient) GetRedirectUris() []string
func (*OIDCClient) GetSecret ¶
func (x *OIDCClient) GetSecret() string
func (*OIDCClient) GetTrustedPeers ¶
func (x *OIDCClient) GetTrustedPeers() []string
func (*OIDCClient) MarshalLogObject ¶
func (x *OIDCClient) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*OIDCClient) ProtoMessage ¶
func (*OIDCClient) ProtoMessage()
func (*OIDCClient) ProtoReflect ¶ added in v2.7.0
func (x *OIDCClient) ProtoReflect() protoreflect.Message
func (*OIDCClient) Reset ¶
func (x *OIDCClient) Reset()
func (*OIDCClient) String ¶
func (x *OIDCClient) String() string
type SetIdentityServerConfigRequest ¶
type SetIdentityServerConfigRequest struct { Config *IdentityServerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*SetIdentityServerConfigRequest) Descriptor
deprecated
func (*SetIdentityServerConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetIdentityServerConfigRequest.ProtoReflect.Descriptor instead.
func (*SetIdentityServerConfigRequest) GetConfig ¶
func (x *SetIdentityServerConfigRequest) GetConfig() *IdentityServerConfig
func (*SetIdentityServerConfigRequest) MarshalLogObject ¶
func (x *SetIdentityServerConfigRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*SetIdentityServerConfigRequest) ProtoMessage ¶
func (*SetIdentityServerConfigRequest) ProtoMessage()
func (*SetIdentityServerConfigRequest) ProtoReflect ¶ added in v2.7.0
func (x *SetIdentityServerConfigRequest) ProtoReflect() protoreflect.Message
func (*SetIdentityServerConfigRequest) Reset ¶
func (x *SetIdentityServerConfigRequest) Reset()
func (*SetIdentityServerConfigRequest) String ¶
func (x *SetIdentityServerConfigRequest) String() string
type SetIdentityServerConfigResponse ¶
type SetIdentityServerConfigResponse struct {
// contains filtered or unexported fields
}
func (*SetIdentityServerConfigResponse) Descriptor
deprecated
func (*SetIdentityServerConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetIdentityServerConfigResponse.ProtoReflect.Descriptor instead.
func (*SetIdentityServerConfigResponse) MarshalLogObject ¶
func (x *SetIdentityServerConfigResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*SetIdentityServerConfigResponse) ProtoMessage ¶
func (*SetIdentityServerConfigResponse) ProtoMessage()
func (*SetIdentityServerConfigResponse) ProtoReflect ¶ added in v2.7.0
func (x *SetIdentityServerConfigResponse) ProtoReflect() protoreflect.Message
func (*SetIdentityServerConfigResponse) Reset ¶
func (x *SetIdentityServerConfigResponse) Reset()
func (*SetIdentityServerConfigResponse) String ¶
func (x *SetIdentityServerConfigResponse) String() string
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedAPIServer) CreateIDPConnector ¶
func (UnimplementedAPIServer) CreateIDPConnector(context.Context, *CreateIDPConnectorRequest) (*CreateIDPConnectorResponse, error)
func (UnimplementedAPIServer) CreateOIDCClient ¶
func (UnimplementedAPIServer) CreateOIDCClient(context.Context, *CreateOIDCClientRequest) (*CreateOIDCClientResponse, error)
func (UnimplementedAPIServer) DeleteAll ¶
func (UnimplementedAPIServer) DeleteAll(context.Context, *DeleteAllRequest) (*DeleteAllResponse, error)
func (UnimplementedAPIServer) DeleteIDPConnector ¶
func (UnimplementedAPIServer) DeleteIDPConnector(context.Context, *DeleteIDPConnectorRequest) (*DeleteIDPConnectorResponse, error)
func (UnimplementedAPIServer) DeleteOIDCClient ¶
func (UnimplementedAPIServer) DeleteOIDCClient(context.Context, *DeleteOIDCClientRequest) (*DeleteOIDCClientResponse, error)
func (UnimplementedAPIServer) GetIDPConnector ¶
func (UnimplementedAPIServer) GetIDPConnector(context.Context, *GetIDPConnectorRequest) (*GetIDPConnectorResponse, error)
func (UnimplementedAPIServer) GetIdentityServerConfig ¶
func (UnimplementedAPIServer) GetIdentityServerConfig(context.Context, *GetIdentityServerConfigRequest) (*GetIdentityServerConfigResponse, error)
func (UnimplementedAPIServer) GetOIDCClient ¶
func (UnimplementedAPIServer) GetOIDCClient(context.Context, *GetOIDCClientRequest) (*GetOIDCClientResponse, error)
func (UnimplementedAPIServer) ListIDPConnectors ¶
func (UnimplementedAPIServer) ListIDPConnectors(context.Context, *ListIDPConnectorsRequest) (*ListIDPConnectorsResponse, error)
func (UnimplementedAPIServer) ListOIDCClients ¶
func (UnimplementedAPIServer) ListOIDCClients(context.Context, *ListOIDCClientsRequest) (*ListOIDCClientsResponse, error)
func (UnimplementedAPIServer) SetIdentityServerConfig ¶
func (UnimplementedAPIServer) SetIdentityServerConfig(context.Context, *SetIdentityServerConfigRequest) (*SetIdentityServerConfigResponse, error)
func (UnimplementedAPIServer) UpdateIDPConnector ¶
func (UnimplementedAPIServer) UpdateIDPConnector(context.Context, *UpdateIDPConnectorRequest) (*UpdateIDPConnectorResponse, error)
func (UnimplementedAPIServer) UpdateOIDCClient ¶
func (UnimplementedAPIServer) UpdateOIDCClient(context.Context, *UpdateOIDCClientRequest) (*UpdateOIDCClientResponse, error)
type UnsafeAPIServer ¶ added in v2.7.0
type UnsafeAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIServer will result in compilation errors.
type UpdateIDPConnectorRequest ¶
type UpdateIDPConnectorRequest struct { Connector *IDPConnector `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"` // contains filtered or unexported fields }
func (*UpdateIDPConnectorRequest) Descriptor
deprecated
func (*UpdateIDPConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIDPConnectorRequest.ProtoReflect.Descriptor instead.
func (*UpdateIDPConnectorRequest) GetConnector ¶
func (x *UpdateIDPConnectorRequest) GetConnector() *IDPConnector
func (*UpdateIDPConnectorRequest) MarshalLogObject ¶
func (x *UpdateIDPConnectorRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UpdateIDPConnectorRequest) ProtoMessage ¶
func (*UpdateIDPConnectorRequest) ProtoMessage()
func (*UpdateIDPConnectorRequest) ProtoReflect ¶ added in v2.7.0
func (x *UpdateIDPConnectorRequest) ProtoReflect() protoreflect.Message
func (*UpdateIDPConnectorRequest) Reset ¶
func (x *UpdateIDPConnectorRequest) Reset()
func (*UpdateIDPConnectorRequest) String ¶
func (x *UpdateIDPConnectorRequest) String() string
type UpdateIDPConnectorResponse ¶
type UpdateIDPConnectorResponse struct {
// contains filtered or unexported fields
}
func (*UpdateIDPConnectorResponse) Descriptor
deprecated
func (*UpdateIDPConnectorResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIDPConnectorResponse.ProtoReflect.Descriptor instead.
func (*UpdateIDPConnectorResponse) MarshalLogObject ¶
func (x *UpdateIDPConnectorResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UpdateIDPConnectorResponse) ProtoMessage ¶
func (*UpdateIDPConnectorResponse) ProtoMessage()
func (*UpdateIDPConnectorResponse) ProtoReflect ¶ added in v2.7.0
func (x *UpdateIDPConnectorResponse) ProtoReflect() protoreflect.Message
func (*UpdateIDPConnectorResponse) Reset ¶
func (x *UpdateIDPConnectorResponse) Reset()
func (*UpdateIDPConnectorResponse) String ¶
func (x *UpdateIDPConnectorResponse) String() string
type UpdateOIDCClientRequest ¶
type UpdateOIDCClientRequest struct { Client *OIDCClient `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` // contains filtered or unexported fields }
func (*UpdateOIDCClientRequest) Descriptor
deprecated
func (*UpdateOIDCClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOIDCClientRequest.ProtoReflect.Descriptor instead.
func (*UpdateOIDCClientRequest) GetClient ¶
func (x *UpdateOIDCClientRequest) GetClient() *OIDCClient
func (*UpdateOIDCClientRequest) MarshalLogObject ¶
func (x *UpdateOIDCClientRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UpdateOIDCClientRequest) ProtoMessage ¶
func (*UpdateOIDCClientRequest) ProtoMessage()
func (*UpdateOIDCClientRequest) ProtoReflect ¶ added in v2.7.0
func (x *UpdateOIDCClientRequest) ProtoReflect() protoreflect.Message
func (*UpdateOIDCClientRequest) Reset ¶
func (x *UpdateOIDCClientRequest) Reset()
func (*UpdateOIDCClientRequest) String ¶
func (x *UpdateOIDCClientRequest) String() string
type UpdateOIDCClientResponse ¶
type UpdateOIDCClientResponse struct {
// contains filtered or unexported fields
}
func (*UpdateOIDCClientResponse) Descriptor
deprecated
func (*UpdateOIDCClientResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOIDCClientResponse.ProtoReflect.Descriptor instead.
func (*UpdateOIDCClientResponse) MarshalLogObject ¶
func (x *UpdateOIDCClientResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*UpdateOIDCClientResponse) ProtoMessage ¶
func (*UpdateOIDCClientResponse) ProtoMessage()
func (*UpdateOIDCClientResponse) ProtoReflect ¶ added in v2.7.0
func (x *UpdateOIDCClientResponse) ProtoReflect() protoreflect.Message
func (*UpdateOIDCClientResponse) Reset ¶
func (x *UpdateOIDCClientResponse) Reset()
func (*UpdateOIDCClientResponse) String ¶
func (x *UpdateOIDCClientResponse) String() string
type User ¶
type User struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` LastAuthenticated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_authenticated,json=lastAuthenticated,proto3" json:"last_authenticated,omitempty"` // contains filtered or unexported fields }
User represents an IDP user that has authenticated via OIDC
func (*User) Descriptor
deprecated
func (*User) GetLastAuthenticated ¶
func (x *User) GetLastAuthenticated() *timestamppb.Timestamp
func (*User) MarshalLogObject ¶
func (x *User) MarshalLogObject(enc zapcore.ObjectEncoder) error
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶ added in v2.7.0
func (x *User) ProtoReflect() protoreflect.Message