Skip to main content

OAuthAuthorizationContext

A valid request, stashed for the signed-in person to approve or deny

Attributes (11)
AttributeTypeRequiredDescription
kind'context'YesDiscriminator
requestIdstringYesWhat approving or denying names. Good for a few minutes, and only for the person it was shown to
clientIdstringYesThe app's client id
clientKindOAuthClientKindYesHow the station knows the app
clientNamestringNoWhat the app calls itself
clientUristringNoThe app's own website, when it gave one
logoUristringNoThe app's logo, when it gave one
redirectHoststringYesThe host the browser is sent back to, which is who actually receives the approval
loopbackOnlybooleanYesWhether every address the app registered is this computer's own, which only an app running on it should use
scopestring[]YesWhat the app asked for. The person chooses what it gets when approving, whatever this says
resourcestringYesWhat the app will be able to reach: the station's MCP endpoint