예제 #1
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public DecodeResult RS384()
 {
     return(rs384.TryDecode(b5, x => (object)null, out _));
 }
예제 #2
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public DecodeResult RS512()
 {
     return(rs512.TryDecode(b6, x => (object)null, out _));
 }
예제 #3
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public DecodeResult RS256()
 {
     return(rs256.TryDecode(b4, x => (object)null, out _));
 }
예제 #4
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public DecodeResult HS512()
 {
     return(hs512.TryDecode(b3, x => (object)null, out _));
 }
예제 #5
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public DecodeResult HS384()
 {
     return(hs384.TryDecode(b2, x => (object)null, out _));
 }
예제 #6
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public DecodeResult HS256()
 {
     return(hs256.TryDecode(b1, x => (object)null, out _));
 }
예제 #7
0
파일: Program.cs 프로젝트: tuongntk/LitJWT
 public Payload LitJwt()
 {
     litJwtDecoder.TryDecode(tokenA, x => Utf8Json.JsonSerializer.Deserialize <Payload>(x.ToArray()), out var result);
     return(result);
 }