zio.cli.oauth2.AccessTokenResponse
See theAccessTokenResponse companion trait
object AccessTokenResponse
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
AccessTokenResponse.type
Members list
Type members
Classlikes
final case class AccessToken(accessToken: String, tokenType: TokenType, expiresIn: Option[Duration], refreshToken: Option[String], scope: List[String]) extends AccessTokenResponse
Result of successful authorization process providing access token issued by the authorization server.
Result of successful authorization process providing access token issued by the authorization server.
Value parameters
- accessToken
-
access token
- expiresIn
-
lifetime of access token
- refreshToken
-
refresh token for obtaining new access token
- scope
-
scope of access token
- tokenType
-
type of token
Attributes
- See also
- Supertypes
-
trait AccessTokenResponsetrait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass AnyShow all
Result of unsuccessful or still ongoing authorization process.
Result of unsuccessful or still ongoing authorization process.
Value parameters
- error
-
kind of error
- errorDescription
-
human-readable textual expression of the error
- errorUri
-
URI to additional information about the error
- interval
-
minimum length of polling interval
Attributes
- See also
- Companion
- object
- Supertypes
-
trait AccessTokenResponsetrait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete fields
JSON decoder for AccessTokenResponse.
In this article