AccessTokenResponse

zio.cli.oauth2.AccessTokenResponse
See theAccessTokenResponse companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self 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 Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class Error(error: Kind, errorDescription: Option[String], errorUri: Option[String], interval: Option[Duration]) extends AccessTokenResponse

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 Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
object Error

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Error.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields