ArmSecurityCenterModelFactory.AccessTokenAuthentication Method

Definition

public static Azure.ResourceManager.SecurityCenter.Models.AccessTokenAuthentication AccessTokenAuthentication(string username = default, string accessToken = default);
static member AccessTokenAuthentication : string * string -> Azure.ResourceManager.SecurityCenter.Models.AccessTokenAuthentication
Public Shared Function AccessTokenAuthentication (Optional username As String = Nothing, Optional accessToken As String = Nothing) As AccessTokenAuthentication

Parameters

username
String

The user name that will be used while authenticating with the onboarded environment.

accessToken
String

The access token that will be used while authenticating with the onboarded environment.

Returns

A new AccessTokenAuthentication instance for mocking.

Applies to