class Scentry[UserType <: AnyRef] extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Scentry
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Scentry(app: ScalatraBase, serialize: PartialFunction[UserType, String], deserialize: PartialFunction[String, UserType], _store: ScentryAuthStore.ScentryAuthStore)
Type Members
- type StrategyFactory = (ScalatraBase) ⇒ StrategyType
- type StrategyType = ScentryStrategy[UserType]
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 authenticate(names: String*)(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromSession: PartialFunction[String, UserType]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- def isAuthenticated(implicit request: HttpServletRequest, response: HttpServletResponse): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logout()(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def params(implicit request: HttpServletRequest): Params
- def redirect(uri: String)(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
- def register(name: String, strategyFactory: StrategyFactory): Unit
- def register(strategy: ⇒ ScentryStrategy[UserType]): Unit
- def store: ScentryAuthStore.ScentryAuthStore
- def store_=(newStore: ScentryAuthStore.ScentryAuthStore): Unit
- def strategies: Map[String, ScentryStrategy[UserType]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toSession: PartialFunction[UserType, String]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unauthenticated(callback: ⇒ Unit): Unit
- def user(implicit request: HttpServletRequest, response: HttpServletResponse): UserType
- def userOption(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
- def user_=(v: UserType)(implicit request: HttpServletRequest, response: HttpServletResponse): String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
authenticate(name: Symbol, names: Symbol*)(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
- Annotations
- @deprecated
- Deprecated
(Since version 2.2) Use the version that uses string keys instead