From 97d01149f186b9e15cf1f9f19516d0da3206b222 Mon Sep 17 00:00:00 2001 From: Catalina Peralta Date: Thu, 22 Jul 2021 10:49:26 -0700 Subject: [PATCH] add auxiliary tenants for multi-tenant scenario --- sdk/azcore/credential.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdk/azcore/credential.go b/sdk/azcore/credential.go index 8d3004ce7122..9d08e6dbb350 100644 --- a/sdk/azcore/credential.go +++ b/sdk/azcore/credential.go @@ -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.