protected override ClaimsIdentity CreateClaimsIdentity(JwtSecurityToken jwt, string issuer, TokenValidationParameters validationParameters)
 {
     OrganisationIdentity result = null;
     ClaimsIdentity claimsIdentity = base.CreateClaimsIdentity(jwt, issuer, validationParameters);
     if (claimsIdentity != null)
         result = new OrganisationIdentity(claimsIdentity);
     Threading.Thread.CurrentPrincipal = new ClaimsPrincipal(result);
     return result;
 }
Exemple #2
0
        public new OrganisationIdentity Clone()
        {
            OrganisationIdentity result = new OrganisationIdentity(this);

            return(result);
        }
 public new OrganisationIdentity Clone()
 {
     OrganisationIdentity result = new OrganisationIdentity(this);
     return result;
 }