Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

ExternalAuthenticationParameters.cs

namespace Nop.Services.Authentication.External;

/// <summary>
/// External authentication parameters
/// </summary>
[Serializable]
public partial class ExternalAuthenticationParameters
{
    public ExternalAuthenticationParameters()
    {
        Claims = new List<ExternalAuthenticationClaim>();
    }

    /// <summary>
    /// Gets or sets the system name of external authentication method
    /// </summary>
    public string ProviderSystemName { get; set; }

    /// <summary>
    /// Gets or sets user external identifier 
    /// </summary>
    public string ExternalIdentifier { get; set; }

    /// <summary>
    /// Gets or sets user external display identifier 
    /// </summary>
    public string ExternalDisplayIdentifier { get; set; }

    /// <summary>
    /// Gets or sets access token
    /// </summary>
    public string AccessToken { get; set; }

    /// <summary>
    /// Gets or sets user email
    /// </summary>
    public string Email { get; set; }

    /// <summary>
    /// Gets or sets the additional user info as a list of a custom claims
    /// </summary>
    public IList<ExternalAuthenticationClaim> Claims { get; set; }
}