object OAuth
- Source
- OAuth.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OAuth
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class AccessToken(accessToken: String, tokenType: String, expiresIn: Int, refreshToken: String, scopes: Seq[Scope]) extends Product with Serializable
- case class AuthorizationInformation(application: AuthorizationInformationApplication, scopes: Seq[String], expires: OffsetDateTime, user: Option[User]) extends Product with Serializable
- 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
- case class ClientAccessToken(accessToken: String, tokenType: String, expiresIn: Int, scopes: Seq[Scope]) extends Product with Serializable
- sealed abstract class GrantType extends AnyRef
- sealed abstract class PromptType extends AnyRef
- sealed abstract class Scope extends StringEnumEntry
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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]
- def baseGrant(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String, responseType: String, prompt: PromptType): Uri
- def clientCredentialsGrant(clientId: String, clientSecret: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[ClientAccessToken]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def codeGrantUri(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String, prompt: PromptType): Uri
- 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()
- def implicitGrantUri(clientId: String, scopes: Seq[Scope], state: String, redirectUri: String): Uri
- 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()
- def refreshTokenExchange(clientId: String, clientSecret: String, grantType: GrantType, refreshToken: String, redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tokenExchange(clientId: String, clientSecret: String, grantType: GrantType, code: String, redirectUri: String, scopes: Seq[Scope])(implicit system: ActorSystem[Nothing]): Future[AccessToken]
- 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 AccessToken extends Serializable
- object ClientAccessToken extends Serializable
- case object GetCurrentAuthorizationInformation extends NoParamsNiceResponseRequest[AuthorizationInformation] with Product with Serializable
- case object GetCurrentBotApplicationInformation extends NoParamsNiceResponseRequest[Application] with Product with Serializable
- object GrantType
- object PromptType
- object Scope extends StringEnum[Scope]