GET Auth/Info/{refresh}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
refresh | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
UserSessionDTOName | Description | Type | Additional information |
---|---|---|---|
SessionID | integer |
None. |
|
UserID | integer |
None. |
|
UserHash | string |
None. |
|
UserToken | string |
None. |
|
RefreshToken | string |
None. |
|
ExpiryDateUtc | date |
None. |
|
SessionData | Collection of Object |
None. |
|
AppData | Collection of Object |
None. |
|
Props | Collection of Object |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
Expired | boolean |
None. |
|
ExpiresSoon | boolean |
None. |
|
UserName | string |
None. |
|
IsAuthorized | boolean |
None. |
|
Features | Collection of string |
None. |
|
Summary | string |
None. |
|
IsSingleSignOn | boolean |
None. |
Response Formats
application/json
Sample:
{ "sessionID": 1, "userID": 2, "userHash": "sample string 3", "userToken": "sample string 4", "refreshToken": "", "expiryDateUtc": "2024-12-04T08:12:54.7279841+00:00", "appData": [ { "n": "RefreshToken" } ], "props": [ { "n": "RefreshToken" } ], "recordState": 1, "created": { "dateUtc": "2024-12-04T08:12:54.7279841+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:12:54 AMZ" }, "lastUpdated": { "dateUtc": "2024-12-04T08:12:54.7279841+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:12:54 AMZ" }, "expired": false, "expiresSoon": true, "userName": "", "isAuthorized": true, "features": [ "sample string 1", "sample string 2" ], "summary": "sample string 4", "isSingleSignOn": false }
text/json
Sample:
{ "sessionID": 1, "userID": 2, "userHash": "sample string 3", "userToken": "sample string 4", "refreshToken": "", "expiryDateUtc": "2024-12-04T08:12:54.7279841+00:00", "appData": [ { "n": "RefreshToken" }, { "n": "UserName" } ], "props": [ { "n": "RefreshToken" }, { "n": "UserName" } ], "recordState": 1, "created": { "dateUtc": "2024-12-04T08:12:54.7279841+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:12:54 AMZ" }, "lastUpdated": { "dateUtc": "2024-12-04T08:12:54.7279841+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:12:54 AMZ" }, "expired": true, "expiresSoon": false, "userName": "", "isAuthorized": true, "features": [ "sample string 1", "sample string 2" ], "summary": "sample string 4", "isSingleSignOn": false }
application/xml, text/xml
Sample:
<UserSessionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.AuthClient.Abstractions"> <AppData xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections"> <d2p1:Property> <d2p1:Name>RefreshToken</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> <d2p1:Property> <d2p1:Name>UserName</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> </AppData> <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Models"> <d2p1:DateUtc>2024-12-04T08:12:54.7279841+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </Created> <ExpiryDateUtc>2024-12-04T08:12:54.7279841+00:00</ExpiryDateUtc> <Features xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Features> <LastUpdated xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Models"> <d2p1:DateUtc>2024-12-04T08:12:54.7279841+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </LastUpdated> <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections"> <d2p1:Property> <d2p1:Name>RefreshToken</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> <d2p1:Property> <d2p1:Name>UserName</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> </Props> <RecordState>Active</RecordState> <SessionData xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections" i:nil="true" /> <SessionID>1</SessionID> <UserHash>sample string 3</UserHash> <UserID>2</UserID> <UserToken>sample string 4</UserToken> </UserSessionDTO>
application/x-compressed-json
Sample:
� ͑�N�0�_�!h#�I;���v���V�6Q�J��OƁG�p;*`�ݸ9�m�_쏷�嶺���P�6�����4�)]��W�����>cu�*V=�<Ҧ/����og&�"���B�a,�B��D�R_��_MT|&��{�s�`@?���sj3�'rgJ�f9 筣�=��gI`����G3�;�NB����ې,R]��o���VQ,Gj�ZD_����#�Ba(,\�ox��,���?)����2�/W��iZ�����w�[s���<n�P���� ��$_W�=E� G%��