Exemple #1
0
 public static SecurityToken DeserializeSecurityToken(this string securityToken, SecurityTokenSerializer securityTokenSerializer)
 {
     if (securityTokenSerializer == null)
     {
         return(null);
     }
     return(securityTokenSerializer.DeserializeToken(securityToken));
 }
Exemple #2
0
 public static string SerializeSecurityToken(this SecurityToken securityToken, SecurityTokenSerializer securityTokenSerializer)
 {
     if (securityTokenSerializer == null)
     {
         return(null);
     }
     return(securityTokenSerializer.SerializeToken(securityToken));
 }