@celljs/oauth2-core 3.0.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,119 +4,119 @@ exports.StandardClaimNames = exports.OidcParameterNames = exports.OidcScopes = v
4
4
  var OidcScopes;
5
5
  (function (OidcScopes) {
6
6
  /**
7
- * The {@code openid} scope is required for OpenID Connect Authentication Requests.
7
+ * The `openid`scope is required for OpenID Connect Authentication Requests.
8
8
  */
9
9
  OidcScopes.OPENID = 'openid';
10
10
  /**
11
- * The {@code profile} scope requests access to the default profile claims, which are:
12
- * {@code name, family_name, given_name, middle_name, nickname, preferred_username,
11
+ * The `profile`scope requests access to the default profile claims, which are:
12
+ * `name, family_name, given_name, middle_name, nickname, preferred_username,
13
13
  * profile, picture, website, gender, birthdate, zoneinfo, locale, updated_at}.
14
14
  */
15
15
  OidcScopes.PROFILE = 'profile';
16
16
  /**
17
- * The {@code email} scope requests access to the {@code email} and {@code email_verified} claims.
17
+ * The `email`scope requests access to the `email`and `email_verified`claims.
18
18
  */
19
19
  OidcScopes.EMAIL = 'email';
20
20
  /**
21
- * The {@code address} scope requests access to the {@code address} claim.
21
+ * The `address`scope requests access to the `address`claim.
22
22
  */
23
23
  OidcScopes.ADDRESS = 'address';
24
24
  /**
25
- * The {@code phone} scope requests access to the {@code phone_number} and {@code phone_number_verified} claims.
25
+ * The `phone`scope requests access to the `phone_number`and `phone_number_verified`claims.
26
26
  */
27
27
  OidcScopes.PHONE = 'phone';
28
28
  })(OidcScopes = exports.OidcScopes || (exports.OidcScopes = {}));
29
29
  var OidcParameterNames;
30
30
  (function (OidcParameterNames) {
31
31
  /**
32
- * {@code id_token} - used in the Access Token Response.
32
+ * `id_token`- used in the Access Token Response.
33
33
  */
34
34
  OidcParameterNames.ID_TOKEN = 'id_token';
35
35
  /**
36
- * {@code nonce} - used in the Authentication Request.
36
+ * `nonce`- used in the Authentication Request.
37
37
  */
38
38
  OidcParameterNames.NONCE = 'nonce';
39
39
  })(OidcParameterNames = exports.OidcParameterNames || (exports.OidcParameterNames = {}));
40
40
  var StandardClaimNames;
41
41
  (function (StandardClaimNames) {
42
42
  /**
43
- * {@code sub} - the Subject identifier
43
+ * `sub`- the Subject identifier
44
44
  */
45
45
  StandardClaimNames.SUB = 'sub';
46
46
  /**
47
- * {@code name} - the user's full name
47
+ * `name`- the user's full name
48
48
  */
49
49
  StandardClaimNames.NAME = 'name';
50
50
  /**
51
- * {@code given_name} - the user's given name(s) or first name(s)
51
+ * `given_name`- the user's given name(s) or first name(s)
52
52
  */
53
53
  StandardClaimNames.GIVEN_NAME = 'given_name';
54
54
  /**
55
- * {@code family_name} - the user's surname(s) or last name(s)
55
+ * `family_name`- the user's surname(s) or last name(s)
56
56
  */
57
57
  StandardClaimNames.FAMILY_NAME = 'family_name';
58
58
  /**
59
- * {@code middle_name} - the user's middle name(s)
59
+ * `middle_name`- the user's middle name(s)
60
60
  */
61
61
  StandardClaimNames.MIDDLE_NAME = 'middle_name';
62
62
  /**
63
- * {@code nickname} - the user's nick name that may or may not be the same as the {@code given_name}
63
+ * `nickname`- the user's nick name that may or may not be the same as the `given_name}
64
64
  */
65
65
  StandardClaimNames.NICKNAME = 'nickname';
66
66
  /**
67
- * {@code preferred_username} - the preferred username that the user wishes to be referred to
67
+ * `preferred_username`- the preferred username that the user wishes to be referred to
68
68
  */
69
69
  StandardClaimNames.PREFERRED_USERNAME = 'preferred_username';
70
70
  /**
71
- * {@code profile} - the URL of the user's profile page
71
+ * `profile`- the URL of the user's profile page
72
72
  */
73
73
  StandardClaimNames.PROFILE = 'profile';
74
74
  /**
75
- * {@code picture} - the URL of the user's profile picture
75
+ * `picture`- the URL of the user's profile picture
76
76
  */
77
77
  StandardClaimNames.PICTURE = 'picture';
78
78
  /**
79
- * {@code website} - the URL of the user's web page or blog
79
+ * `website`- the URL of the user's web page or blog
80
80
  */
81
81
  StandardClaimNames.WEBSITE = 'website';
82
82
  /**
83
- * {@code email} - the user's preferred e-mail address
83
+ * `email`- the user's preferred e-mail address
84
84
  */
85
85
  StandardClaimNames.EMAIL = 'email';
86
86
  /**
87
- * {@code email_verified} - {@code true} if the user's e-mail address has been verified, otherwise {@code false}
87
+ * `email_verified`- `true`if the user's e-mail address has been verified, otherwise `false}
88
88
  */
89
89
  StandardClaimNames.EMAIL_VERIFIED = 'email_verified';
90
90
  /**
91
- * {@code gender} - the user's gender
91
+ * `gender`- the user's gender
92
92
  */
93
93
  StandardClaimNames.GENDER = 'gender';
94
94
  /**
95
- * {@code birthdate} - the user's birth date
95
+ * `birthdate`- the user's birth date
96
96
  */
97
97
  StandardClaimNames.BIRTHDATE = 'birthdate';
98
98
  /**
99
- * {@code zoneinfo} - the user's time zone
99
+ * `zoneinfo`- the user's time zone
100
100
  */
101
101
  StandardClaimNames.ZONEINFO = 'zoneinfo';
102
102
  /**
103
- * {@code locale} - the user's locale
103
+ * `locale`- the user's locale
104
104
  */
105
105
  StandardClaimNames.LOCALE = 'locale';
106
106
  /**
107
- * {@code phone_number} - the user's preferred phone number
107
+ * `phone_number`- the user's preferred phone number
108
108
  */
109
109
  StandardClaimNames.PHONE_NUMBER = 'phone_number';
110
110
  /**
111
- * {@code phone_number_verified} - {@code true} if the user's phone number has been verified, otherwise {@code false}
111
+ * `phone_number_verified`- `true`if the user's phone number has been verified, otherwise `false}
112
112
  */
113
113
  StandardClaimNames.PHONE_NUMBER_VERIFIED = 'phone_number_verified';
114
114
  /**
115
- * {@code address} - the user's preferred postal address
115
+ * `address`- the user's preferred postal address
116
116
  */
117
117
  StandardClaimNames.ADDRESS = 'address';
118
118
  /**
119
- * {@code updated_at} - the time the user's information was last updated
119
+ * `updated_at`- the time the user's information was last updated
120
120
  */
121
121
  StandardClaimNames.UPDATED_AT = 'updated_at';
122
122
  })(StandardClaimNames = exports.StandardClaimNames || (exports.StandardClaimNames = {}));
@@ -1,18 +1,5 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./token-protocol"), exports);
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./token-protocol"), exports);
18
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/token/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/node/token/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC"}
@@ -14,52 +14,52 @@ export interface RefreshToken extends Token {
14
14
  }
15
15
  export declare namespace IdTokenClaimNames {
16
16
  /**
17
- * {@code iss} - the Issuer identifier
17
+ * `iss`- the Issuer identifier
18
18
  */
19
19
  const ISS = "iss";
20
20
  /**
21
- * {@code sub} - the Subject identifier
21
+ * `sub`- the Subject identifier
22
22
  */
23
23
  const SUB = "sub";
24
24
  /**
25
- * {@code aud} - the Audience(s) that the ID Token is intended for
25
+ * `aud`- the Audience(s) that the ID Token is intended for
26
26
  */
27
27
  const AUD = "aud";
28
28
  /**
29
- * {@code exp} - the Expiration time on or after which the ID Token MUST NOT be accepted
29
+ * `exp`- the Expiration time on or after which the ID Token MUST NOT be accepted
30
30
  */
31
31
  const EXP = "exp";
32
32
  /**
33
- * {@code iat} - the time at which the ID Token was issued
33
+ * `iat`- the time at which the ID Token was issued
34
34
  */
35
35
  const IAT = "iat";
36
36
  /**
37
- * {@code auth_time} - the time when the End-User authentication occurred
37
+ * `auth_time`- the time when the End-User authentication occurred
38
38
  */
39
39
  const AUTH_TIME = "auth_time";
40
40
  /**
41
- * {@code nonce} - a {@code export const} value used to associate a Client session with an ID Token,
41
+ * `nonce`- a `export const`value used to associate a Client session with an ID Token,
42
42
  * and to mitigate replay attacks.
43
43
  */
44
44
  const NONCE = "nonce";
45
45
  /**
46
- * {@code acr} - the Authentication Context Class Reference
46
+ * `acr`- the Authentication Context Class Reference
47
47
  */
48
48
  const ACR = "acr";
49
49
  /**
50
- * {@code amr} - the Authentication Methods References
50
+ * `amr`- the Authentication Methods References
51
51
  */
52
52
  const AMR = "amr";
53
53
  /**
54
- * {@code azp} - the Authorized party to which the ID Token was issued
54
+ * `azp`- the Authorized party to which the ID Token was issued
55
55
  */
56
56
  const AZP = "azp";
57
57
  /**
58
- * {@code at_hash} - the Access Token hash value
58
+ * `at_hash`- the Access Token hash value
59
59
  */
60
60
  const AT_HASH = "at_hash";
61
61
  /**
62
- * {@code c_hash} - the Authorization Code hash value
62
+ * `c_hash`- the Authorization Code hash value
63
63
  */
64
64
  const C_HASH = "c_hash";
65
65
  }
@@ -8,52 +8,52 @@ var TokenType;
8
8
  var IdTokenClaimNames;
9
9
  (function (IdTokenClaimNames) {
10
10
  /**
11
- * {@code iss} - the Issuer identifier
11
+ * `iss`- the Issuer identifier
12
12
  */
13
13
  IdTokenClaimNames.ISS = 'iss';
14
14
  /**
15
- * {@code sub} - the Subject identifier
15
+ * `sub`- the Subject identifier
16
16
  */
17
17
  IdTokenClaimNames.SUB = 'sub';
18
18
  /**
19
- * {@code aud} - the Audience(s) that the ID Token is intended for
19
+ * `aud`- the Audience(s) that the ID Token is intended for
20
20
  */
21
21
  IdTokenClaimNames.AUD = 'aud';
22
22
  /**
23
- * {@code exp} - the Expiration time on or after which the ID Token MUST NOT be accepted
23
+ * `exp`- the Expiration time on or after which the ID Token MUST NOT be accepted
24
24
  */
25
25
  IdTokenClaimNames.EXP = 'exp';
26
26
  /**
27
- * {@code iat} - the time at which the ID Token was issued
27
+ * `iat`- the time at which the ID Token was issued
28
28
  */
29
29
  IdTokenClaimNames.IAT = 'iat';
30
30
  /**
31
- * {@code auth_time} - the time when the End-User authentication occurred
31
+ * `auth_time`- the time when the End-User authentication occurred
32
32
  */
33
33
  IdTokenClaimNames.AUTH_TIME = 'auth_time';
34
34
  /**
35
- * {@code nonce} - a {@code export const} value used to associate a Client session with an ID Token,
35
+ * `nonce`- a `export const`value used to associate a Client session with an ID Token,
36
36
  * and to mitigate replay attacks.
37
37
  */
38
38
  IdTokenClaimNames.NONCE = 'nonce';
39
39
  /**
40
- * {@code acr} - the Authentication Context Class Reference
40
+ * `acr`- the Authentication Context Class Reference
41
41
  */
42
42
  IdTokenClaimNames.ACR = 'acr';
43
43
  /**
44
- * {@code amr} - the Authentication Methods References
44
+ * `amr`- the Authentication Methods References
45
45
  */
46
46
  IdTokenClaimNames.AMR = 'amr';
47
47
  /**
48
- * {@code azp} - the Authorized party to which the ID Token was issued
48
+ * `azp`- the Authorized party to which the ID Token was issued
49
49
  */
50
50
  IdTokenClaimNames.AZP = 'azp';
51
51
  /**
52
- * {@code at_hash} - the Access Token hash value
52
+ * `at_hash`- the Access Token hash value
53
53
  */
54
54
  IdTokenClaimNames.AT_HASH = 'at_hash';
55
55
  /**
56
- * {@code c_hash} - the Authorization Code hash value
56
+ * `c_hash`- the Authorization Code hash value
57
57
  */
58
58
  IdTokenClaimNames.C_HASH = 'c_hash';
59
59
  })(IdTokenClaimNames = exports.IdTokenClaimNames || (exports.IdTokenClaimNames = {}));
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@celljs/oauth2-core",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "main": "lib/node/index.js",
6
6
  "typings": "lib/node/index.d.ts",
7
7
  "dependencies": {
8
- "@celljs/core": "3.0.0",
9
- "@celljs/security": "3.0.0",
10
- "@celljs/web": "3.0.0"
8
+ "@celljs/core": "3.1.1",
9
+ "@celljs/security": "3.1.1",
10
+ "@celljs/web": "3.1.1",
11
+ "tslib": "^2.8.0"
11
12
  },
12
13
  "publishConfig": {
13
14
  "access": "public"
@@ -37,9 +38,9 @@
37
38
  "test": "cell-component test:js"
38
39
  },
39
40
  "devDependencies": {
40
- "@celljs/component": "3.0.0",
41
+ "@celljs/component": "3.1.1",
41
42
  "@types/crypto-js": "^3.1.47",
42
43
  "@types/jexl": "^2.1.0"
43
44
  },
44
- "gitHead": "c0ef8d269e33a795406bcbb240cac4b845c6c24c"
45
+ "gitHead": "a773e1661f404c1a44d26b9f3b2591b58192d917"
45
46
  }
@@ -97,17 +97,17 @@ export namespace OAuth2ParameterNames {
97
97
  export namespace PkceParameterNames {
98
98
 
99
99
  /**
100
- * {@code code_challenge} - used in Authorization Request.
100
+ * `code_challenge`- used in Authorization Request.
101
101
  */
102
102
  export const CODE_CHALLENGE = 'code_challenge';
103
103
 
104
104
  /**
105
- * {@code code_challenge_method} - used in Authorization Request.
105
+ * `code_challenge_method`- used in Authorization Request.
106
106
  */
107
107
  export const CODE_CHALLENGE_METHOD = 'code_challenge_method';
108
108
 
109
109
  /**
110
- * {@code code_verifier} - used in Token Request.
110
+ * `code_verifier`- used in Token Request.
111
111
  */
112
112
  export const CODE_VERIFIER = 'code_verifier';
113
113
  }
@@ -1,37 +1,37 @@
1
1
  export enum OAuth2ErrorCodes {
2
2
 
3
3
  /**
4
- * {@code invalid_request} - The request is missing a required parameter,
4
+ * `invalid_request` - The request is missing a required parameter,
5
5
  * includes an invalid parameter value,
6
6
  * includes a parameter more than once, or is otherwise malformed.
7
7
  */
8
8
  INVALID_REQUEST = 'invalid_request',
9
9
 
10
10
  /**
11
- * {@code unauthorized_client} - The client is not authorized to request
11
+ * `unauthorized_client` - The client is not authorized to request
12
12
  * an authorization code or access token using this method.
13
13
  */
14
14
  UNAUTHORIZED_CLIENT = 'unauthorized_client',
15
15
 
16
16
  /**
17
- * {@code access_denied} - The resource owner or authorization server denied the request.
17
+ * `access_denied` - The resource owner or authorization server denied the request.
18
18
  */
19
19
  ACCESS_DENIED = 'access_denied',
20
20
 
21
21
  /**
22
- * {@code unsupported_response_type} - The authorization server does not support
22
+ * `unsupported_response_type` - The authorization server does not support
23
23
  * obtaining an authorization code or access token using this method.
24
24
  */
25
25
  UNSUPPORTED_RESPONSE_TYPE = 'unsupported_response_type',
26
26
 
27
27
  /**
28
- * {@code invalid_scope} - The requested scope is invalid, unknown, malformed or
28
+ * `invalid_scope` - The requested scope is invalid, unknown, malformed or
29
29
  * exceeds the scope granted by the resource owner.
30
30
  */
31
31
  INVALID_SCOPE = 'invalid_scope',
32
32
 
33
33
  /**
34
- * {@code insufficient_scope} - The request requires higher privileges than
34
+ * `insufficient_scope` - The request requires higher privileges than
35
35
  * provided by the access token.
36
36
  * The resource server SHOULD respond with the HTTP 403 (Forbidden)
37
37
  * status code and MAY include the 'scope' attribute with the scope
@@ -42,7 +42,7 @@ export enum OAuth2ErrorCodes {
42
42
  INSUFFICIENT_SCOPE = 'insufficient_scope',
43
43
 
44
44
  /**
45
- * {@code invalid_token} - The access token provided is expired, revoked,
45
+ * `invalid_token` - The access token provided is expired, revoked,
46
46
  * malformed, or invalid for other reasons.
47
47
  * The resource SHOULD respond with the HTTP 401 (Unauthorized) status code.
48
48
  * The client MAY request a new access token and retry the protected resource request.
@@ -52,7 +52,7 @@ export enum OAuth2ErrorCodes {
52
52
  INVALID_TOKEN = 'invalid_token',
53
53
 
54
54
  /**
55
- * {@code server_error} - The authorization server encountered an
55
+ * `server_error` - The authorization server encountered an
56
56
  * unexpected condition that prevented it from fulfilling the request.
57
57
  * (This error code is needed because a 500 Internal Server Error HTTP status code
58
58
  * cannot be returned to the client via a HTTP redirect.)
@@ -60,7 +60,7 @@ export enum OAuth2ErrorCodes {
60
60
  SERVER_ERROR = 'server_error',
61
61
 
62
62
  /**
63
- * {@code temporarily_unavailable} - The authorization server is currently unable
63
+ * `temporarily_unavailable` - The authorization server is currently unable
64
64
  * to handle the request due to a temporary overloading or maintenance of the server.
65
65
  * (This error code is needed because a 503 Service Unavailable HTTP status code
66
66
  * cannot be returned to the client via an HTTP redirect.)
@@ -68,7 +68,7 @@ export enum OAuth2ErrorCodes {
68
68
  TEMPORARILY_UNAVAILABLE = 'temporarily_unavailable',
69
69
 
70
70
  /**
71
- * {@code invalid_client} - Client authentication failed (e.g., unknown client,
71
+ * `invalid_client` - Client authentication failed (e.g., unknown client,
72
72
  * no client authentication included, or unsupported authentication method).
73
73
  * The authorization server MAY return a HTTP 401 (Unauthorized) status code
74
74
  * to indicate which HTTP authentication schemes are supported.
@@ -79,14 +79,14 @@ export enum OAuth2ErrorCodes {
79
79
  INVALID_CLIENT = 'invalid_client',
80
80
 
81
81
  /**
82
- * {@code invalid_grant} - The provided authorization grant
82
+ * `invalid_grant` - The provided authorization grant
83
83
  * (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked,
84
84
  * does not match the redirection URI used in the authorization request, or was issued to another client.
85
85
  */
86
86
  INVALID_GRANT = 'invalid_grant',
87
87
 
88
88
  /**
89
- * {@code unsupported_grant_type} - The authorization grant type is not supported by the authorization server.
89
+ * `unsupported_grant_type` - The authorization grant type is not supported by the authorization server.
90
90
  */
91
91
  UNSUPPORTED_GRANT_TYPE = 'unsupported_grant_type'
92
92
 
@@ -1,29 +1,29 @@
1
1
  export namespace OidcScopes {
2
2
 
3
3
  /**
4
- * The {@code openid} scope is required for OpenID Connect Authentication Requests.
4
+ * The `openid`scope is required for OpenID Connect Authentication Requests.
5
5
  */
6
6
  export const OPENID = 'openid';
7
7
 
8
8
  /**
9
- * The {@code profile} scope requests access to the default profile claims, which are:
10
- * {@code name, family_name, given_name, middle_name, nickname, preferred_username,
9
+ * The `profile`scope requests access to the default profile claims, which are:
10
+ * `name, family_name, given_name, middle_name, nickname, preferred_username,
11
11
  * profile, picture, website, gender, birthdate, zoneinfo, locale, updated_at}.
12
12
  */
13
13
  export const PROFILE = 'profile';
14
14
 
15
15
  /**
16
- * The {@code email} scope requests access to the {@code email} and {@code email_verified} claims.
16
+ * The `email`scope requests access to the `email`and `email_verified`claims.
17
17
  */
18
18
  export const EMAIL = 'email';
19
19
 
20
20
  /**
21
- * The {@code address} scope requests access to the {@code address} claim.
21
+ * The `address`scope requests access to the `address`claim.
22
22
  */
23
23
  export const ADDRESS = 'address';
24
24
 
25
25
  /**
26
- * The {@code phone} scope requests access to the {@code phone_number} and {@code phone_number_verified} claims.
26
+ * The `phone`scope requests access to the `phone_number`and `phone_number_verified`claims.
27
27
  */
28
28
  export const PHONE = 'phone';
29
29
 
@@ -32,12 +32,12 @@ export namespace OidcScopes {
32
32
  export namespace OidcParameterNames {
33
33
 
34
34
  /**
35
- * {@code id_token} - used in the Access Token Response.
35
+ * `id_token`- used in the Access Token Response.
36
36
  */
37
37
  export const ID_TOKEN = 'id_token';
38
38
 
39
39
  /**
40
- * {@code nonce} - used in the Authentication Request.
40
+ * `nonce`- used in the Authentication Request.
41
41
  */
42
42
  export const NONCE = 'nonce';
43
43
 
@@ -46,102 +46,102 @@ export namespace OidcParameterNames {
46
46
  export namespace StandardClaimNames {
47
47
 
48
48
  /**
49
- * {@code sub} - the Subject identifier
49
+ * `sub`- the Subject identifier
50
50
  */
51
51
  export const SUB = 'sub';
52
52
 
53
53
  /**
54
- * {@code name} - the user's full name
54
+ * `name`- the user's full name
55
55
  */
56
56
  export const NAME = 'name';
57
57
 
58
58
  /**
59
- * {@code given_name} - the user's given name(s) or first name(s)
59
+ * `given_name`- the user's given name(s) or first name(s)
60
60
  */
61
61
  export const GIVEN_NAME = 'given_name';
62
62
 
63
63
  /**
64
- * {@code family_name} - the user's surname(s) or last name(s)
64
+ * `family_name`- the user's surname(s) or last name(s)
65
65
  */
66
66
  export const FAMILY_NAME = 'family_name';
67
67
 
68
68
  /**
69
- * {@code middle_name} - the user's middle name(s)
69
+ * `middle_name`- the user's middle name(s)
70
70
  */
71
71
  export const MIDDLE_NAME = 'middle_name';
72
72
 
73
73
  /**
74
- * {@code nickname} - the user's nick name that may or may not be the same as the {@code given_name}
74
+ * `nickname`- the user's nick name that may or may not be the same as the `given_name}
75
75
  */
76
76
  export const NICKNAME = 'nickname';
77
77
 
78
78
  /**
79
- * {@code preferred_username} - the preferred username that the user wishes to be referred to
79
+ * `preferred_username`- the preferred username that the user wishes to be referred to
80
80
  */
81
81
  export const PREFERRED_USERNAME = 'preferred_username';
82
82
 
83
83
  /**
84
- * {@code profile} - the URL of the user's profile page
84
+ * `profile`- the URL of the user's profile page
85
85
  */
86
86
  export const PROFILE = 'profile';
87
87
 
88
88
  /**
89
- * {@code picture} - the URL of the user's profile picture
89
+ * `picture`- the URL of the user's profile picture
90
90
  */
91
91
  export const PICTURE = 'picture';
92
92
 
93
93
  /**
94
- * {@code website} - the URL of the user's web page or blog
94
+ * `website`- the URL of the user's web page or blog
95
95
  */
96
96
  export const WEBSITE = 'website';
97
97
 
98
98
  /**
99
- * {@code email} - the user's preferred e-mail address
99
+ * `email`- the user's preferred e-mail address
100
100
  */
101
101
  export const EMAIL = 'email';
102
102
 
103
103
  /**
104
- * {@code email_verified} - {@code true} if the user's e-mail address has been verified, otherwise {@code false}
104
+ * `email_verified`- `true`if the user's e-mail address has been verified, otherwise `false}
105
105
  */
106
106
  export const EMAIL_VERIFIED = 'email_verified';
107
107
 
108
108
  /**
109
- * {@code gender} - the user's gender
109
+ * `gender`- the user's gender
110
110
  */
111
111
  export const GENDER = 'gender';
112
112
 
113
113
  /**
114
- * {@code birthdate} - the user's birth date
114
+ * `birthdate`- the user's birth date
115
115
  */
116
116
  export const BIRTHDATE = 'birthdate';
117
117
 
118
118
  /**
119
- * {@code zoneinfo} - the user's time zone
119
+ * `zoneinfo`- the user's time zone
120
120
  */
121
121
  export const ZONEINFO = 'zoneinfo';
122
122
 
123
123
  /**
124
- * {@code locale} - the user's locale
124
+ * `locale`- the user's locale
125
125
  */
126
126
  export const LOCALE = 'locale';
127
127
 
128
128
  /**
129
- * {@code phone_number} - the user's preferred phone number
129
+ * `phone_number`- the user's preferred phone number
130
130
  */
131
131
  export const PHONE_NUMBER = 'phone_number';
132
132
 
133
133
  /**
134
- * {@code phone_number_verified} - {@code true} if the user's phone number has been verified, otherwise {@code false}
134
+ * `phone_number_verified`- `true`if the user's phone number has been verified, otherwise `false}
135
135
  */
136
136
  export const PHONE_NUMBER_VERIFIED = 'phone_number_verified';
137
137
 
138
138
  /**
139
- * {@code address} - the user's preferred postal address
139
+ * `address`- the user's preferred postal address
140
140
  */
141
141
  export const ADDRESS = 'address';
142
142
 
143
143
  /**
144
- * {@code updated_at} - the time the user's information was last updated
144
+ * `updated_at`- the time the user's information was last updated
145
145
  */
146
146
  export const UPDATED_AT = 'updated_at';
147
147