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 ApplicationInformation(id: RawSnowflake, name: String, icon: Option[String], description: String, rpcOrigins: Option[Seq[String]], botPublic: Boolean, botRequireCodeGrant: Boolean, owner: PartialUser, summary: String, verifyKey: String, team: Option[Team], guildId: Option[GuildId], primarySkuId: Option[RawSnowflake], slug: Option[String], coverImage: Option[String]) extends Product with Serializable
  3. case class ClientAccessToken(accessToken: String, tokenType: String, expiresIn: Int, scopes: Seq[Scope]) extends Product with Serializable
  4. sealed abstract class GrantType extends AnyRef
  5. sealed abstract class PromptType extends AnyRef
  6. sealed abstract class Scope extends AnyRef

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()
  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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def implicitGrantUri(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String): Uri
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def refreshTokenExchange(clientId: String, clientSecret: String, grantType: GrantType, refreshToken: String, redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def tokenExchange(clientId: String, clientSecret: String, grantType: GrantType, code: String, redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. object AccessToken extends Serializable
  28. object ClientAccessToken extends Serializable
  29. case object GetCurrentApplicationInformation extends NoParamsNiceResponseRequest[ApplicationInformation] with Product with Serializable
  30. object GrantType
  31. object PromptType
  32. object Scope

Inherited from AnyRef

Inherited from Any

Ungrouped