identity

package
v2.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
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

View Source
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")
)
View Source
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)

View Source
var File_identity_identity_proto protoreflect.FileDescriptor

Functions

func IsErrAlreadyExists

func IsErrAlreadyExists(err error) bool

IsErrAlreadyExists checks if an error is a ErrAlreadyExists

func IsErrInvalidID

func IsErrInvalidID(err error) bool

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 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 (*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 (*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 (*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 (*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 (*GetIdentityServerConfigRequest) Reset

func (x *GetIdentityServerConfigRequest) Reset()

func (*GetIdentityServerConfigRequest) 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 (*GetIdentityServerConfigResponse) MarshalLogObject

func (*GetIdentityServerConfigResponse) ProtoMessage

func (*GetIdentityServerConfigResponse) ProtoMessage()

func (*GetIdentityServerConfigResponse) ProtoReflect added in v2.7.0

func (*GetIdentityServerConfigResponse) Reset

func (*GetIdentityServerConfigResponse) 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 (*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 (*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 (*SetIdentityServerConfigRequest) Reset

func (x *SetIdentityServerConfigRequest) Reset()

func (*SetIdentityServerConfigRequest) 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 (*SetIdentityServerConfigResponse) ProtoMessage

func (*SetIdentityServerConfigResponse) ProtoMessage()

func (*SetIdentityServerConfigResponse) ProtoReflect added in v2.7.0

func (*SetIdentityServerConfigResponse) Reset

func (*SetIdentityServerConfigResponse) String

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedAPIServer) DeleteAll

func (UnimplementedAPIServer) GetIDPConnector

func (UnimplementedAPIServer) GetOIDCClient

func (UnimplementedAPIServer) ListOIDCClients

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 (*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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL