Trait

unfiltered.oauth2

Authorized

Related Doc: package oauth2

Permalink

trait Authorized extends AuthorizationProvider with AuthorizationEndpoints with Formatting with ValidationMessages with Flows with Plan

A composition of components which respond to authorization requests. This trait provides default implementations of Oauth Flows. To override these, simply override a target Flows callback methods

Source
authorizations.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Authorized
  2. Plan
  3. InittedFilter
  4. Filter
  5. Flows
  6. Refreshing
  7. ClientCredentialsFlow
  8. PasswordFlow
  9. TokenFlow
  10. AuthCodeFlow
  11. ValidationMessages
  12. Formatting
  13. AuthorizationEndpoints
  14. AuthorizationProvider
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class s2qs extends AnyRef

    Permalink

    Syntactic sugar for appending query strings to paths

Abstract Value Members

  1. abstract val AuthorizePath: String

    Permalink
    Definition Classes
    AuthorizationEndpoints
  2. abstract val TokenPath: String

    Permalink
    Definition Classes
    AuthorizationEndpoints
  3. abstract val auth: AuthorizationServer

    Permalink
    Definition Classes
    AuthorizationProvider
  4. abstract def requiredMsg(what: String): String

    Permalink
    Definition Classes
    ValidationMessages

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def Json(kvs: Iterable[(String, String)]): ResponseFunction[Any]

    Permalink
    Definition Classes
    Formatting
  5. def accessResponder(accessToken: String, tokenType: Option[String], expiresIn: Option[Int], refreshToken: Option[String], scope: Seq[String], extras: Iterable[(String, String)]): ResponseFunction[Any]

    Permalink

    returns

    a function which builds a response for an accept token request

    Attributes
    protected
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def config: FilterConfig

    Permalink
    Definition Classes
    InittedFilter
  9. def destroy(): Unit

    Permalink
    Definition Classes
    InittedFilter → Filter
  10. def doFilter(request: ServletRequest, response: ServletResponse, chain: FilterChain): Unit

    Permalink
    Definition Classes
    Plan → Filter
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def errorResponder(error: String, desc: String, euri: Option[String], state: Option[String]): ResponseFunction[Any]

    Permalink

    returns

    a function which builds a response for error responses

    Attributes
    protected
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. def init(config: FilterConfig): Unit

    Permalink
    Definition Classes
    InittedFilter → Filter
  18. def intent: Intent[HttpServletRequest, HttpServletResponse]

    Permalink
    Definition Classes
    Authorized → Plan
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def onAuthCode(req: HttpRequest[Any], responseType: Seq[String], clientId: String, redirectUri: String, scope: Seq[String], state: Option[String]): ResponseFunction[Any]

    Permalink
    Definition Classes
    AuthorizedAuthCodeFlow
  24. def onClientCredentials(clientId: String, clientSecret: String, scope: Seq[String]): ResponseFunction[Any]

    Permalink
    Definition Classes
    AuthorizedClientCredentialsFlow
  25. def onGrantAuthCode(code: String, redirectUri: String, clientId: String, clientSecret: String): ResponseFunction[Any]

    Permalink
    Definition Classes
    AuthorizedAuthCodeFlow
  26. def onPassword(userName: String, password: String, clientId: String, clientSecret: String, scope: Seq[String]): ResponseFunction[Any]

    Permalink
    Definition Classes
    AuthorizedPasswordFlow
  27. def onRefresh(refreshToken: String, clientId: String, clientSecret: String, scope: Seq[String]): ResponseFunction[Any]

    Permalink
    Definition Classes
    AuthorizedRefreshing
  28. def onToken(req: HttpRequest[Any], responseType: Seq[String], clientId: String, redirectUri: String, scope: Seq[String], state: Option[String]): ResponseFunction[Any]

    Permalink
    Definition Classes
    AuthorizedTokenFlow
  29. def onUnsupportedAuth(req: HttpRequest[Any], responseType: Seq[String], clientId: String, redirectUri: String, scope: Seq[String], state: Option[String]): ResponseFunction[Any]

    Permalink
    Attributes
    protected
  30. def qstr(kvs: Iterable[(String, String)]): String

    Permalink
    Definition Classes
    Formatting
  31. val spaceDecoded: Interpreter[Option[String], Option[Seq[String]], Nothing] { def interpret(a: Option[String],name: String): scala.util.Right[Nothing,Option[Seq[String]]] }

    Permalink
  32. def spaceDecoder(raw: String): Seq[String]

    Permalink
    Attributes
    protected
  33. def spaceEncoder(scopes: Seq[String]): String

    Permalink
    Attributes
    protected
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Plan

Inherited from InittedFilter

Inherited from Filter

Inherited from Flows

Inherited from Refreshing

Inherited from ClientCredentialsFlow

Inherited from PasswordFlow

Inherited from TokenFlow

Inherited from AuthCodeFlow

Inherited from ValidationMessages

Inherited from Formatting

Inherited from AuthorizationEndpoints

Inherited from AuthorizationProvider

Inherited from AnyRef

Inherited from Any

Ungrouped