Метод | Описание | |
---|---|---|
GetAuthenticationManager ( this context, bool throwOnNull = false ) : IAuthenticationManager |
Gets the Microsoft owin authentication manager from the nancy context.
|
|
GetMSOwinUser ( this context ) : |
Get the user from the Micrososft owin user from the nancy context.
|
public static GetAuthenticationManager ( this context, bool throwOnNull = false ) : IAuthenticationManager | ||
context | this | The current nancy context. |
throwOnNull | bool | Throws an exception if the owin reqeust environment does not exist. Otherwise null will be returned. |
Результат | IAuthenticationManager |
public static GetMSOwinUser ( this context ) : |
||
context | this | The current nancy context. |
Результат |