Skip to main content

%SYS.TokenAuth

persistent class %SYS.TokenAuth extends %Library.Persistent

SQL Table Name: %SYS.TokenAuth

Property Inventory

Method Inventory

Properties

property AccessTokenHash as %String (MAXLEN = 64);
Property methods: AccessTokenHashDisplayToLogical(), AccessTokenHashGet(), AccessTokenHashGetStored(), AccessTokenHashIsValid(), AccessTokenHashLogicalToDisplay(), AccessTokenHashLogicalToOdbc(), AccessTokenHashNormalize(), AccessTokenHashSet()
property Expires as %BigInt;
Property methods: ExpiresDisplayToLogical(), ExpiresGet(), ExpiresGetStored(), ExpiresIsValid(), ExpiresLogicalToDisplay(), ExpiresNormalize(), ExpiresSet()
property GroupId as %String);
Property methods: GroupIdDisplayToLogical(), GroupIdGet(), GroupIdGetStored(), GroupIdIsValid(), GroupIdLogicalToDisplay(), GroupIdLogicalToOdbc(), GroupIdNormalize(), GroupIdSet()
property RefreshTokenHash as %String (MAXLEN = 64);
Property methods: RefreshTokenHashDisplayToLogical(), RefreshTokenHashGet(), RefreshTokenHashGetStored(), RefreshTokenHashIsValid(), RefreshTokenHashLogicalToDisplay(), RefreshTokenHashLogicalToOdbc(), RefreshTokenHashNormalize(), RefreshTokenHashSet()
property SID as %String (MAXLEN = 24) [ InitialExpression = $System.Encryption.Base64Encode($System.Encryption.GenCryptRand(18)) , Required ];
Property methods: SIDDisplayToLogical(), SIDGet(), SIDGetStored(), SIDIsValid(), SIDLogicalToDisplay(), SIDLogicalToOdbc(), SIDNormalize(), SIDSet()
property SecurityContext as %String);
Property methods: SecurityContextDisplayToLogical(), SecurityContextGet(), SecurityContextGetStored(), SecurityContextIsValid(), SecurityContextLogicalToDisplay(), SecurityContextLogicalToOdbc(), SecurityContextNormalize(), SecurityContextSet()

Methods

classmethod UpdateGroupId(sid As %String, groupId As %String) as %Status

Indexes

index (ExpiresIndex on Expires);
Index methods: ExpiresIndexExists()
index (SIDIndex on SID) [IdKey, Type = key];
Index methods: SIDIndexCheck(), SIDIndexDelete(), SIDIndexExists(), SIDIndexOpen(), SIDIndexSQLCheckUnique(), SIDIndexSQLExists(), SIDIndexSQLFindPKeyByConstraint(), SIDIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (%SYS.TokenAuth)

^|$$$SecurityMapTokenAuth|SYS.TokenAuthD(ID)
=
%%CLASSNAME
SID
Expires
SecurityContext
AccessTokenHash
RefreshTokenHash
GroupId
FeedbackOpens in a new tab