Packages

object OAuth

Source
OAuth.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OAuth
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AccessToken(accessToken: String, tokenType: String, expiresIn: Int, refreshToken: String, scopes: Seq[Scope]) extends Product with Serializable
  2. case class AuthorizationInformation(application: AuthorizationInformationApplication, scopes: Seq[String], expires: OffsetDateTime, user: Option[User]) extends Product with Serializable
  3. case class AuthorizationInformationApplication(id: ApplicationId, name: String, icon: String, description: String, summary: String, hook: Boolean, botPublic: Boolean, botRequireCodeGrant: Boolean, verifyKey: String) extends Product with Serializable
  4. case class ClientAccessToken(accessToken: String, tokenType: String, expiresIn: Int, scopes: Seq[Scope]) extends Product with Serializable
  5. sealed abstract class GrantType extends AnyRef
  6. sealed abstract class PromptType extends AnyRef
  7. sealed abstract class Scope extends StringEnumEntry

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def baseExchange(clientId: String, clientSecret: String, grantType: GrantType, code: Option[String], refreshToken: Option[String], redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
  6. def baseGrant(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String, responseType: String, prompt: PromptType): Uri
  7. def clientCredentialsGrant(clientId: String, clientSecret: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[ClientAccessToken]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def codeGrantUri(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String, prompt: PromptType): Uri
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def implicitGrantUri(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String): Uri
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def refreshTokenExchange(clientId: String, clientSecret: String, grantType: GrantType, refreshToken: String, redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def tokenExchange(clientId: String, clientSecret: String, grantType: GrantType, code: String, redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. object AccessToken extends Serializable
  27. object ClientAccessToken extends Serializable
  28. case object GetCurrentAuthorizationInformation extends NoParamsNiceResponseRequest[AuthorizationInformation] with Product with Serializable
  29. case object GetCurrentBotApplicationInformation extends NoParamsNiceResponseRequest[Application] with Product with Serializable
  30. object GrantType
  31. object PromptType
  32. object Scope extends StringEnum[Scope]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped