Microsoft.WindowsAzure.Commands.Test.Utilities.Common.MockAccessTokenProvider.GetAccessToken C# (CSharp) Method

GetAccessToken() public method

public GetAccessToken ( AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount credentialType ) : IAccessToken
config Microsoft.Azure.Commands.Common.Authentication.AdalConfiguration
promptBehavior ShowDialog
userId string
password System.Security.SecureString
credentialType Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount
return IAccessToken
        public IAccessToken GetAccessToken(AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password,
            AzureAccount.AccountType credentialType)
        {
            return this.accessToken;
        }