Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 294 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 294 Bytes

powershell_utility

$headers = [ordered]@{
    "alg"="HS256"    
    "typ"="JWT"
}

$payload = [ordered]@{
  "sub" = "23232323"
  "name" = "Onofrio Comes"
  "iat" = 1516239022
}

$secret = "secret_key"

$jwt = Create-OCJWT -headers $headers -payload $payload -secret $secret