Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate() (*msgraphsdk.GraphServiceClient, error)
func ListTenants ¶
func ListTenants(graph *msgraphsdk.GraphServiceClient) ([]models.Tenant, error)
func NewGraphServiceClientWithRefreshToken ¶
func NewGraphServiceClientWithRefreshToken(token TokenResponse) (*msgraphsdk.GraphServiceClient, error)
Types ¶
type CustomTokenCredential ¶
func (*CustomTokenCredential) GetToken ¶
func (c *CustomTokenCredential) GetToken(ctx context.Context, options azpolicy.TokenRequestOptions) (azcore.AccessToken, error)
type TokenResponse ¶
Click to show internal directories.
Click to hide internal directories.