GET v1/auth/state
Retrieves the current authentication state.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns the current authentication state
AuthState| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Username | string |
None. |
|
| SignInAsGoogle | boolean |
None. |
|
| SignInAsMicrosoft | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Username": "sample string 2",
"SignInAsGoogle": true,
"SignInAsMicrosoft": true
}
application/xml, text/xml
Sample:
<AuthState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kimin.Cloud.Api.Models"> <Id>sample string 1</Id> <SignInAsGoogle>true</SignInAsGoogle> <SignInAsMicrosoft>true</SignInAsMicrosoft> <Username>sample string 2</Username> </AuthState>