Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [OAuth2] >  [Server] >  [JWTid]
Private  Storage   

persistent class OAuth2.Server.JWTid extends %Persistent

The OAuth2.Server.JWTid is used to maintain a list of id of the JWTs which have been used to identify a client to the authorization server.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2 1


Expires JTI

%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject IsNewJWT


• property Expires as %Integer;
Expires is the time in seconds from beginning of the Unix epoch when the JWT expires. After this time, there is no point in keeping a record of this JTI since it has already expired.
• property JTI as %String(MAXLEN=1024);
JTI is the jti property of the JWT which has been sued for authentication


• classmethod IsNewJWT(jti As %String, expires As %Integer, Output sc As %Status) as %Boolean
A new JWT has been received. Return true if the JWT has not been used and save the JWTid record. Otherwise return false.


•index (IDIndex on JTI) [IdKey,Unique];
The IDKEY for this class.

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.