directory

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package directory implements the user group directory service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group = directory.Group

A Group is a directory Group.

type Options added in v0.10.1

type Options = directory.Options

Options are the options specific to the provider.

type Provider

type Provider interface {
	UserGroups(ctx context.Context) ([]*Group, []*User, error)
}

A Provider provides user group directory information.

func GetProvider

func GetProvider(options *config.Options) Provider

GetProvider gets the provider for the given options.

type User

type User = directory.User

A User is a directory User.

Directories

Path Synopsis
Package azure contains an azure active directory directory provider.
Package azure contains an azure active directory directory provider.
Package github contains a directory provider for github.
Package github contains a directory provider for github.
Package gitlab contains a directory provider for gitlab.
Package gitlab contains a directory provider for gitlab.
Package google contains the Google directory provider.
Package google contains the Google directory provider.
Package okta contains the Okta directory provider.
Package okta contains the Okta directory provider.
Package onelogin contains the onelogin directory provider.
Package onelogin contains the onelogin directory provider.

Jump to

Keyboard shortcuts

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