Skip to content

ServiceNow.Core

SNow.Core.Authentication.Authenticator

Authenticator.AuthenticateAsync(AuthenticationConfig, ITokenAcquisition) Method

Authenticate in to AAD based the configuration provided

csharp
public static System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AuthenticateAsync(SNow.Core.Authentication.AuthenticationConfig configuration, Microsoft.Identity.Web.ITokenAcquisition _tokenAcquisition=null);

Parameters

configuration AuthenticationConfig

_tokenAcquisition Microsoft.Identity.Web.ITokenAcquisition

Returns

System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>

Released under the MIT License.