identity

package
v0.30.5 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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