Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Add auxiliary tenants for multi-tenant scenario #15123

Merged
merged 1 commit into from
Jul 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sdk/azcore/credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ import (

// AuthenticationOptions contains various options used to create a credential policy.
type AuthenticationOptions struct {
// Options contains the TokenRequestOptions that includes a scopes field which contains
// TokenRequest is a TokenRequestOptions that includes a scopes field which contains
// the list of OAuth2 authentication scopes used when requesting a token.
// This field is ignored for other forms of authentication (e.g. shared key).
TokenRequest TokenRequestOptions
// AuxiliaryTenants contains a list of additional tenant IDs to be used to authenticate
// in cross-tenant applications.
AuxiliaryTenants []string
}

// Credential represents any credential type.
Expand Down