Blackboard Authentication API

<back to all web services

PostOAuth2TokenInfoRequest40

The following routes are available for this service:
POST,OPTIONS/api/auth/oauth2/tokeninfoGets the claims for the specified client

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/PostOAuth2TokenInfoRequest40 HTTP/1.1 
Host: prodeastbbauthservice.transactcampus.com 
Content-Type: application/xml
Content-Length: length

<PostOAuth2TokenInfoRequest40 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BbAuth.Services.SecurityApi.V4.SecurityApiRoutes.Models">
  <AccessToken>String</AccessToken>
  <ClientId>String</ClientId>
</PostOAuth2TokenInfoRequest40>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<OAuth2TokenInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BbAuth.Services.SecurityApi.V4.SecurityApiRoutes.Models">
  <Claims xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Security.Claims" i:nil="true" />
  <ErrorCode>0</ErrorCode>
  <ErrorDescription>String</ErrorDescription>
</OAuth2TokenInfoResponse>