class
Scentry[UserType <: AnyRef] extends AnyRef
Instance Constructors
-
new
Scentry(app: ScalatraBase, serialize: PartialFunction[UserType, String], deserialize: PartialFunction[String, UserType], _store: ScentryAuthStore)
Type Members
-
type
StrategyFactory = (ScalatraBase) ⇒ StrategyType
-
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
authenticate(names: String*)(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
fromSession: PartialFunction[String, UserType]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
isAuthenticated(implicit request: HttpServletRequest, response: HttpServletResponse): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
logout()(implicit request: HttpServletRequest, response: HttpServletResponse): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
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
strategies: Map[String, ScentryStrategy[UserType]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toSession: PartialFunction[UserType, String]
-
def
toString(): String
-
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
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Deprecated Value Members
-
def
authenticate(name: Symbol, names: Symbol*)(implicit request: HttpServletRequest, response: HttpServletResponse): Option[UserType]
Inherited from AnyRef
Inherited from Any