Webiant Logo Webiant Logo
  1. No results found.

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

GetAuthenticationRequest.cs

using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;

namespace Nop.Plugin.Misc.Zettle.Domain.Api.OAuth;

/// 
/// Represents request to get access token
/// 
public class GetAuthenticationRequest : OAuthApiRequest
{
    /// 
    /// Gets or sets the JWT assertion to authenticate
    /// 
    [JsonIgnore]
    public string Assertion { get; set; }

    /// 
    /// Gets or sets the partner client ID
    /// 
    [JsonIgnore]
    public string ClientId { get; set; }

    /// 
    /// Gets or sets the grant type
    /// 
    [JsonIgnore]
    public string GrantType { get; set; }

    /// 
    /// Gets the request path
    /// 
    public override string Path => "token";

    /// 
    /// Gets the request method
    /// 
    public override string Method => HttpMethods.Post;
}