Пример #1
0
 public static string GenerateJwtBearer(string audience,
                                        IEnumerable <Claim> subject,
                                        DateTime expires,
                                        DateTime notBefore,
                                        DateTime issueAt,
                                        string signingKey,
                                        string requestId)
 {
     return(AuthUtility.GenerateJwtBearer(
                issuer: null,
                audience: audience,
                claims: subject,
                notBefore: notBefore,
                expires: expires,
                issuedAt: issueAt,
                signingKey: signingKey));
 }