C# Class Microsoft.Azure.Commands.KeyVault.Models.DataServiceCredential

Show file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
DataServiceCredential ( IAuthenticationFactory authFactory, Microsoft.Azure.Common.Authentication.Models.AzureContext context, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment resourceIdEndpoint ) : Microsoft.Azure.Commands.Common.Authentication
GetToken ( ) : string
OnAuthentication ( string authority, string resource, string scope ) : Task

Authentication callback method required by KeyVaultClient

Private Methods

Method Description
GetTenantId ( Microsoft.Azure.Common.Authentication.Models.AzureContext context ) : string
GetTokenInternal ( string tenantId, IAuthenticationFactory authFactory, Microsoft.Azure.Common.Authentication.Models.AzureContext context, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment resourceIdEndpoint ) : string>.Tuple

Method Details

DataServiceCredential() public method

public DataServiceCredential ( IAuthenticationFactory authFactory, Microsoft.Azure.Common.Authentication.Models.AzureContext context, Microsoft.Azure.Common.Authentication.Models.AzureEnvironment resourceIdEndpoint ) : Microsoft.Azure.Commands.Common.Authentication
authFactory IAuthenticationFactory
context Microsoft.Azure.Common.Authentication.Models.AzureContext
resourceIdEndpoint Microsoft.Azure.Common.Authentication.Models.AzureEnvironment
return Microsoft.Azure.Commands.Common.Authentication

GetToken() public method

public GetToken ( ) : string
return string

OnAuthentication() public method

Authentication callback method required by KeyVaultClient
public OnAuthentication ( string authority, string resource, string scope ) : Task
authority string
resource string
scope string
return Task