This commit is contained in:
parent
46f5c107b8
commit
fa34ed249b
233 changed files with 4000 additions and 1396 deletions
24
Yavsc/Auth/TokenAuthOptions.cs
Normal file
24
Yavsc/Auth/TokenAuthOptions.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using System.IdentityModel.Tokens;
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
public class TokenAuthOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Public's identification
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Audience { get; set; }
|
||||
/// <summary>
|
||||
/// Identity authority
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string Issuer { get; set; }
|
||||
/// <summary>
|
||||
/// Signin key and signature algotythm
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public SigningCredentials SigningCredentials { get; set; }
|
||||
public int ExpiresIn { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue