private string EncodeHeader(JwtHeader header) => Base64Encode(JsonConvert.SerializeObject(header));
public JwtEncoder(string secret, JwtHeader header, int expiration) { _secret = secret; _header = header; _expiration = expiration; }
private string EncodeHeader(JwtHeader header) => Base64Encode(JsonConvert.SerializeObject(header));
public JwtEncoder(string secret, JwtHeader header, int expiration) { _secret = secret; _header = header; _expiration = expiration; }