GET api/EntityLocker?code={code}&codeVerifier={codeVerifier}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

codeVerifier

string

Required

Body Parameters

None.

Response Information

Resource Description

TokenResponse
NameDescriptionTypeAdditional information
access_token

string

None.

expires_in

integer

None.

refresh_expires_in

integer

None.

refresh_token

string

None.

token_type

string

None.

not-before-policy

integer

None.

session_state

string

None.

scope

string

None.

Response Formats

application/json, text/json

Sample:
{
  "access_token": "sample string 1",
  "expires_in": 2,
  "refresh_expires_in": 3,
  "refresh_token": "sample string 4",
  "token_type": "sample string 5",
  "not-before-policy": 6,
  "session_state": "sample string 7",
  "scope": "sample string 8"
}

application/xml, text/xml

Sample:
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeghalayaUIP.Common">
  <AccessToken>sample string 1</AccessToken>
  <ExpiresIn>2</ExpiresIn>
  <NotBeforePolicy>6</NotBeforePolicy>
  <RefreshExpiresIn>3</RefreshExpiresIn>
  <RefreshToken>sample string 4</RefreshToken>
  <Scope>sample string 8</Scope>
  <SessionState>sample string 7</SessionState>
  <TokenType>sample string 5</TokenType>
</TokenResponse>