Documentation ¶
Overview ¶
osintypes holds types that are used to interpret responses from the RangelReale osin server. neither osin, nor osincli contain types with the annotations required to have the default json marshaller encode and decode them. Even more unusual: osin does not describe a single type that represents the overall return from osin.FinishInfoRequest. Because of that, a type needs to be described in order to make use of the return value, so even if you preferred writing a parser you'll end up needing a type anyway.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoResponseData ¶
type InfoResponseData struct { Error string `json:"error"` ErrorDescription string `json:"error_description"` TokenType string `json:"token_type"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` Expiration int32 `json:"expires_in"` }
InfoResponseData is a type that matches the information returned from osin.FinishInfoRequest (/oauth/info).
Click to show internal directories.
Click to hide internal directories.