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