Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { // AuthorizationRequestParameters allows the autorization request parameters // to be tweaked on a per-provider basis. AuthorizationRequestParameters() map[string]string // Scopes returns a set of scopes that are required by the access token // to operate correctly. Scopes() []string // Groups returns a list of groups the user belongs to. Groups(ctx context.Context, organization *unikornv1.Organization, accessToken string) ([]types.Group, error) }
func New ¶
func New(providerType *unikornv1.IdentityProviderType) Provider
Click to show internal directories.
Click to hide internal directories.