Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAndNormaliseRoles ¶
ConvertAndNormaliseRoles converts claim roles. normalise it, because `roles` could be represented as a one role(string) or array of roles(slice).
Types ¶
type OIDCClient ¶
type OIDCClient struct {
// contains filtered or unexported fields
}
OIDCClient represents OIDC client.
func NewOIDCClient ¶
NewOIDCClient creates new OIDC client
type OIDCClientProvider ¶
type OIDCClientProvider interface { // Verify makes Access Token verification. Verify(ctx context.Context, accessToken string) (*User, error) }
OIDCClientProvider provides an interface to work with OIDC provider.
Click to show internal directories.
Click to hide internal directories.