TokenProvider.CreateAadTokenProvider TokenProvider.CreateAadTokenProvider TokenProvider.CreateAadTokenProvider TokenProvider.CreateAadTokenProvider Method

Definition

Overloads

CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, UserIdentifier, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, UserIdentifier, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, UserIdentifier, Uri)

Creates an Azure Active Directory token provider.

CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri)

Creates an Azure Active Directory token provider.

CreateAadTokenProvider(AuthenticationContext, String, UserPasswordCredential, Uri) CreateAadTokenProvider(AuthenticationContext, String, UserPasswordCredential, Uri) CreateAadTokenProvider(AuthenticationContext, String, UserPasswordCredential, Uri)

Creates an Azure Active Directory token provider.

CreateAadTokenProvider(AuthenticationContext, ClientCredential, Uri) CreateAadTokenProvider(AuthenticationContext, ClientCredential, Uri) CreateAadTokenProvider(AuthenticationContext, ClientCredential, Uri)

Creates an Azure Active Directory token provider.

CreateAadTokenProvider(AuthenticationContext, ClientAssertionCertificate, Uri) CreateAadTokenProvider(AuthenticationContext, ClientAssertionCertificate, Uri) CreateAadTokenProvider(AuthenticationContext, ClientAssertionCertificate, Uri)

Creates an Azure Active Directory token provider.

CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, UserIdentifier, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, UserIdentifier, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, UserIdentifier, Uri)

Creates an Azure Active Directory token provider.

public:
 static Microsoft::ServiceBus::TokenProvider ^ CreateAadTokenProvider(Microsoft::IdentityModel::Clients::ActiveDirectory::AuthenticationContext ^ authContext, System::String ^ clientId, Uri ^ redirectUri, Microsoft::IdentityModel::Clients::ActiveDirectory::IPlatformParameters ^ platformParameters, Microsoft::IdentityModel::Clients::ActiveDirectory::UserIdentifier ^ userIdentifier, Uri ^ audience);
public static Microsoft.ServiceBus.TokenProvider CreateAadTokenProvider (Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext authContext, string clientId, Uri redirectUri, Microsoft.IdentityModel.Clients.ActiveDirectory.IPlatformParameters platformParameters, Microsoft.IdentityModel.Clients.ActiveDirectory.UserIdentifier userIdentifier, Uri audience);
static member CreateAadTokenProvider : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext * string * Uri * Microsoft.IdentityModel.Clients.ActiveDirectory.IPlatformParameters * Microsoft.IdentityModel.Clients.ActiveDirectory.UserIdentifier * Uri -> Microsoft.ServiceBus.TokenProvider
Parameters
clientId
String String String String

ClientId for AAD.

redirectUri
Uri Uri Uri Uri

The redrectUri on Client App.

audience
Uri Uri Uri Uri

The service resource URI for token acquisition.

Returns

CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri) CreateAadTokenProvider(AuthenticationContext, String, Uri, IPlatformParameters, Uri)

Creates an Azure Active Directory token provider.

public:
 static Microsoft::ServiceBus::TokenProvider ^ CreateAadTokenProvider(Microsoft::IdentityModel::Clients::ActiveDirectory::AuthenticationContext ^ authContext, System::String ^ clientId, Uri ^ redirectUri, Microsoft::IdentityModel::Clients::ActiveDirectory::IPlatformParameters ^ platformParameters, Uri ^ audience);
public static Microsoft.ServiceBus.TokenProvider CreateAadTokenProvider (Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext authContext, string clientId, Uri redirectUri, Microsoft.IdentityModel.Clients.ActiveDirectory.IPlatformParameters platformParameters, Uri audience);
static member CreateAadTokenProvider : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext * string * Uri * Microsoft.IdentityModel.Clients.ActiveDirectory.IPlatformParameters * Uri -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateAadTokenProvider (authContext As AuthenticationContext, clientId As String, redirectUri As Uri, platformParameters As IPlatformParameters, audience As Uri) As TokenProvider
Parameters
clientId
String String String String

ClientId for AAD.

redirectUri
Uri Uri Uri Uri

The redrectUri on Client App.

audience
Uri Uri Uri Uri

The service resource URI for token acquisition.

Returns

CreateAadTokenProvider(AuthenticationContext, String, UserPasswordCredential, Uri) CreateAadTokenProvider(AuthenticationContext, String, UserPasswordCredential, Uri) CreateAadTokenProvider(AuthenticationContext, String, UserPasswordCredential, Uri)

Creates an Azure Active Directory token provider.

public:
 static Microsoft::ServiceBus::TokenProvider ^ CreateAadTokenProvider(Microsoft::IdentityModel::Clients::ActiveDirectory::AuthenticationContext ^ authContext, System::String ^ clientId, Microsoft::IdentityModel::Clients::ActiveDirectory::UserPasswordCredential ^ userPasswordCredential, Uri ^ audience);
public static Microsoft.ServiceBus.TokenProvider CreateAadTokenProvider (Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext authContext, string clientId, Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential userPasswordCredential, Uri audience);
static member CreateAadTokenProvider : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext * string * Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential * Uri -> Microsoft.ServiceBus.TokenProvider
Parameters
clientId
String String String String

ClientId for AAD.

audience
Uri Uri Uri Uri

The service resource URI for token acquisition.

Returns

CreateAadTokenProvider(AuthenticationContext, ClientCredential, Uri) CreateAadTokenProvider(AuthenticationContext, ClientCredential, Uri) CreateAadTokenProvider(AuthenticationContext, ClientCredential, Uri)

Creates an Azure Active Directory token provider.

public:
 static Microsoft::ServiceBus::TokenProvider ^ CreateAadTokenProvider(Microsoft::IdentityModel::Clients::ActiveDirectory::AuthenticationContext ^ authContext, Microsoft::IdentityModel::Clients::ActiveDirectory::ClientCredential ^ clientCredential, Uri ^ audience);
public static Microsoft.ServiceBus.TokenProvider CreateAadTokenProvider (Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext authContext, Microsoft.IdentityModel.Clients.ActiveDirectory.ClientCredential clientCredential, Uri audience);
static member CreateAadTokenProvider : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext * Microsoft.IdentityModel.Clients.ActiveDirectory.ClientCredential * Uri -> Microsoft.ServiceBus.TokenProvider
Parameters
audience
Uri Uri Uri Uri

The service resource URI for token acquisition.

Returns

CreateAadTokenProvider(AuthenticationContext, ClientAssertionCertificate, Uri) CreateAadTokenProvider(AuthenticationContext, ClientAssertionCertificate, Uri) CreateAadTokenProvider(AuthenticationContext, ClientAssertionCertificate, Uri)

Creates an Azure Active Directory token provider.

public:
 static Microsoft::ServiceBus::TokenProvider ^ CreateAadTokenProvider(Microsoft::IdentityModel::Clients::ActiveDirectory::AuthenticationContext ^ authContext, Microsoft::IdentityModel::Clients::ActiveDirectory::ClientAssertionCertificate ^ clientAssertionCertificate, Uri ^ audience);
public static Microsoft.ServiceBus.TokenProvider CreateAadTokenProvider (Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext authContext, Microsoft.IdentityModel.Clients.ActiveDirectory.ClientAssertionCertificate clientAssertionCertificate, Uri audience);
static member CreateAadTokenProvider : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext * Microsoft.IdentityModel.Clients.ActiveDirectory.ClientAssertionCertificate * Uri -> Microsoft.ServiceBus.TokenProvider
Parameters
clientAssertionCertificate
ClientAssertionCertificate ClientAssertionCertificate ClientAssertionCertificate ClientAssertionCertificate

The client assertion certificate credential.

audience
Uri Uri Uri Uri

The service resource URI for token acquisition.

Returns

Applies to