public void Resolve(Guid organizationId, JwtBearerOptions options)
        {
            var org = db.Organizations.FirstOrDefault(o => o.OrganizationId == organizationId);

            ConfigureOnceResolved(org.CognitoAudience, org.CognitoAuthority, options);
        }
예제 #2
0
 public static IApplicationBuilder UseJwtBearerAuthentication(this IApplicationBuilder app, JwtBearerOptions options)
 {
     throw new NotSupportedException("This method is no longer supported, see https://go.microsoft.com/fwlink/?linkid=845470");
 }