@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/identity/userGrant/index.js~
packages/ari/identity/userGrant/index.jsModified+1−4
Index: package/packages/ari/identity/userGrant/index.js
===================================================================
--- package/packages/ari/identity/userGrant/index.js
+++ package/packages/ari/identity/userGrant/index.js
@@ -284,25 +284,22 @@
var identityUserGrantAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: IdentityUserGrantAriResourceOwner,
resourceType: IdentityUserGrantAriResourceType,
resourceIdSlug: "{userId}-{clientId}",
resourceIdSegmentFormats: {
userId: /[a-zA-Z0-9_\-\:]{1,128}/,
// eslint-disable-line no-useless-escape
clientId: /[0-9a-zA-Z-_]{5,50}/
- // eslint-disable-line no-useless-escape
}
};
// src/identity/userGrant/index.ts
var IdentityUserGrantAri = class _IdentityUserGrantAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._userId = opts.resourceIdSegmentValues.userId, this._clientId = opts.resourceIdSegmentValues.clientId;
+ super(opts), this._userId = opts.resourceIdSegmentValues.userId, this._clientId = opts.resourceIdSegmentValues.clientId;
}
get userId() {
return this._userId;
}