Class

com.lookout.borderpatrol

OAuth2CodeProtoManager

Related Doc: package borderpatrol

Permalink

case class OAuth2CodeProtoManager(name: String, loginConfirm: Path, authorizeUrl: URL, tokenUrl: URL, certificateUrl: URL, clientId: String, clientSecret: String) extends ProtoManager with Product with Serializable

OAuth code framework, that redirects user to OAuth2 server.

name

name of the proto manager

loginConfirm

path intercepted by borderpatrol and OAuth2 server posts the oAuth2 code on this path

authorizeUrl

URL of the OAuth2 service where client is redirected for authenticaiton

tokenUrl

URL of the OAuth2 server to convert OAuth2 code to OAuth2 token

certificateUrl

URL of the OAuth2 server to fetch the certificate for verifying token signature

clientId

Id used for communicating with OAuth2 server

clientSecret

Secret used for communicating with OAuth2 server

Linear Supertypes
Serializable, Serializable, Product, Equals, ProtoManager, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OAuth2CodeProtoManager
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ProtoManager
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OAuth2CodeProtoManager(name: String, loginConfirm: Path, authorizeUrl: URL, tokenUrl: URL, certificateUrl: URL, clientId: String, clientSecret: String)

    Permalink

    name

    name of the proto manager

    loginConfirm

    path intercepted by borderpatrol and OAuth2 server posts the oAuth2 code on this path

    authorizeUrl

    URL of the OAuth2 service where client is redirected for authenticaiton

    tokenUrl

    URL of the OAuth2 server to convert OAuth2 code to OAuth2 token

    certificateUrl

    URL of the OAuth2 server to fetch the certificate for verifying token signature

    clientId

    Id used for communicating with OAuth2 server

    clientSecret

    Secret used for communicating with OAuth2 server

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val authorizeUrl: URL

    Permalink

    URL of the OAuth2 service where client is redirected for authenticaiton

  6. val certificateUrl: URL

    Permalink

    URL of the OAuth2 server to fetch the certificate for verifying token signature

  7. val clientId: String

    Permalink

    Id used for communicating with OAuth2 server

  8. val clientSecret: String

    Permalink

    Secret used for communicating with OAuth2 server

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def codeToToken(req: Request): Future[Response]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val loginConfirm: Path

    Permalink

    path intercepted by borderpatrol and OAuth2 server posts the oAuth2 code on this path

    path intercepted by borderpatrol and OAuth2 server posts the oAuth2 code on this path

    Definition Classes
    OAuth2CodeProtoManagerProtoManager
  16. val name: String

    Permalink

    name of the proto manager

    name of the proto manager

    Definition Classes
    OAuth2CodeProtoManagerProtoManager
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def redirectLocation(req: Request): String

    Permalink
    Definition Classes
    OAuth2CodeProtoManagerProtoManager
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. val tokenUrl: URL

    Permalink

    URL of the OAuth2 server to convert OAuth2 code to OAuth2 token

  23. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ProtoManager

Inherited from AnyRef

Inherited from Any

Ungrouped