object AccessTokenResponse extends Serializable
- Alphabetic
- By Inheritance
- AccessTokenResponse
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class AccessToken(accessToken: String, tokenType: TokenType, expiresIn: Option[zio.Duration], refreshToken: Option[String], scope: List[String]) extends AccessTokenResponse with Product with Serializable
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.
- accessToken
access token
- tokenType
type of token
- expiresIn
lifetime of access token
- refreshToken
refresh token for obtaining new access token
- scope
scope of access token
- See also
https://datatracker.ietf.org/doc/html/rfc6749#section-5.1
- final case class Error(error: Kind, errorDescription: Option[String], errorUri: Option[String], interval: Option[zio.Duration]) extends AccessTokenResponse with Product with Serializable
Result of unsuccessful or still ongoing authorization process.
Result of unsuccessful or still ongoing authorization process.
- 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
- See also
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accessTokenResponseJsonDecoder: JsonDecoder[AccessTokenResponse]
JSON decoder for AccessTokenResponse.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Error extends Serializable