azureclient

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureADClient

type AzureADClient struct {
	// contains filtered or unexported fields
}

func NewAzureADClient

func NewAzureADClient(ctx context.Context, tenant, clientID, clientSecret string) (*AzureADClient, error)

func NewAzureADClientWithRefreshToken added in v0.0.2

func NewAzureADClientWithRefreshToken(ctx context.Context, tenant, clientID, clientSecret, refreshToken string) (*AzureADClient, error)

func (*AzureADClient) GetUserByEmail added in v0.0.7

func (c *AzureADClient) GetUserByEmail(email string) (models.UserCollectionResponseable, error)

func (*AzureADClient) GetUserByID added in v0.0.7

func (*AzureADClient) ListUsers

type RefreshTokenCredential added in v0.0.2

type RefreshTokenCredential struct {
	// contains filtered or unexported fields
}

func NewRefreshTokenCredential added in v0.0.2

func NewRefreshTokenCredential(ctx context.Context, tenantID, clientID, clientSecret, refreshToken string) (*RefreshTokenCredential, error)

func (*RefreshTokenCredential) GetToken added in v0.0.2

Jump to

Keyboard shortcuts

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