Skip to content
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