Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityClient ¶
type IdentityClient struct {
identityv1.IdentityServiceClient
// contains filtered or unexported fields
}
IdentityClient is a gRPC client for the Identity service.
func NewIdentityClient ¶
func NewIdentityClient(cfg gapi.ClientConfig) (*IdentityClient, error)
NewIdentityClient creates a new IdentityClient from the provided configuration.
func (*IdentityClient) Close ¶
func (c *IdentityClient) Close() error
Close closes the underlying gRPC connection.
type IdpClient ¶
type IdpClient interface {
Name() string
Capabilities() []string
UserMaxAge() uint32
Address() string
Close() error
identityv1.IdentityProviderServiceClient
}
IdpClient is the interface that represents a connected identity provider. It extends the gRPC IdentityProviderServiceClient with provider metadata accessors.
func NewIdpClient ¶
func NewIdpClient(cfg gapi.ClientConfig) (IdpClient, error)
NewIdpClient creates a new IdpClient by connecting to the remote identity provider at the address specified in cfg and fetching its provider metadata.
Click to show internal directories.
Click to hide internal directories.