1 module hunt.jwt.JwtRegisteredClaimNames; 2 3 // 4 // Summary: 5 // List of registered claims from different sources http://tools.ietf.org/html/rfc7519#section-4 6 // http://openid.net/specs/openid-connect-core-1_0.html#IDToken 7 struct JwtRegisteredClaimNames { 8 enum string Actort = "actort"; 9 // 10 // Summary: 11 // http://tools.ietf.org/html/rfc7519#section-5 12 enum string Typ = "typ"; 13 // 14 // Summary: 15 // http://tools.ietf.org/html/rfc7519#section-4 16 enum string Sub = "sub"; 17 // 18 // Summary: 19 // http://openid.net/specs/openid-connect-frontchannel-1_0.html#OPLogout 20 enum string Sid = "sid"; 21 enum string Prn = "prn"; 22 // 23 // Summary: 24 // http://tools.ietf.org/html/rfc7519#section-4 25 enum string Nbf = "nbf"; 26 // 27 // Summary: 28 // https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest 29 enum string Nonce = "nonce"; 30 enum string NameId = "nameid"; 31 // 32 // Summary: 33 // http://tools.ietf.org/html/rfc7519#section-4 34 enum string Jti = "jti"; 35 // 36 // Summary: 37 // http://tools.ietf.org/html/rfc7519#section-4 38 enum string Iss = "iss"; 39 // 40 // Summary: 41 // http://tools.ietf.org/html/rfc7519#section-4 42 enum string Iat = "iat"; 43 44 /** 45 * End-User's full name in displayable form including all name parts, 46 * possibly including titles and suffixes, ordered according to the End-User's locale and preferences. 47 */ 48 enum string Name = "name"; 49 50 enum string Nickname = "nickname"; 51 52 // 53 // Summary: 54 // https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims 55 enum string GivenName = "given_name"; 56 // 57 // Summary: 58 // https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims 59 enum string FamilyName = "family_name"; 60 61 enum string MiddleName = "middle_name"; 62 63 // 64 // Summary: 65 // https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims 66 enum string Gender = "gender"; 67 // 68 // Summary: 69 // http://tools.ietf.org/html/rfc7519#section-4 70 enum string Exp = "exp"; 71 // 72 // Summary: 73 // https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims 74 enum string Email = "email"; 75 // 76 // Summary: 77 // http://openid.net/specs/openid-connect-core-1_0.html#CodeIDToken 78 enum string AtHash = "at_hash"; 79 // 80 // Summary: 81 // https://openid.net/specs/openid-connect-core-1_0.html#HybridIDToken 82 enum string CHash = "c_hash"; 83 // 84 // Summary: 85 // https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims 86 enum string Birthdate = "birthdate"; 87 // 88 // Summary: 89 // http://openid.net/specs/openid-connect-core-1_0.html#IDToken 90 enum string Azp = "azp"; 91 // 92 // Summary: 93 // http://openid.net/specs/openid-connect-core-1_0.html#IDToken 94 enum string AuthTime = "auth_time"; 95 // 96 // Summary: 97 // http://tools.ietf.org/html/rfc7519#section-4 98 enum string Aud = "aud"; 99 // 100 // Summary: 101 // http://openid.net/specs/openid-connect-core-1_0.html#IDToken 102 enum string Amr = "amr"; 103 // 104 // Summary: 105 // http://openid.net/specs/openid-connect-core-1_0.html#IDToken 106 enum string Acr = "acr"; 107 enum string UniqueName = "unique_name"; 108 enum string Website = "website"; 109 110 enum string PhoneNumber = "phone_number"; 111 112 enum string Address = "address"; 113 }