The Open API specification for Synapse is now available for download!

Download Open API Spec

OAuthTokenIntrospectionResponse

org.sagebionetworks.repo.model.oauth.OAuthTokenIntrospectionResponse

Response from token introspection conforming to RFC 7662.

Field Type Description
active BOOLEAN Whether the token is active
scope STRING A JSON string containing a space-separated list of scopes associated with this token, in the format described in Section 3.3 of OAuth 2.0
aud STRING The audience (realm or OAuth Client) the token was issued for
sub STRING Subject identifier. For a first-party access token, this is the Synapse user ID. For tokens issued to OAuth Clients, this is a PPID (Pairwise Pseudonymous Identifier)
token_type TokenType
exp INTEGER Expiration time (seconds since epoch)
iat INTEGER Issued at time (seconds since epoch)
auth_time INTEGER Time of user authentication (seconds since epoch)
iss STRING Token issuer
jti STRING Unique token identifier