 | MemorySessionManagerServiceGet Method |
Authenticates the session identifier as evidence of session
Namespace: SanteDB.Caching.Memory.SessionAssembly: SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.2081-alpha+73f4bcede15fc876f30607896483d7d817ecc787
Syntaxpublic ISession Get(
byte[] sessionId,
bool allowExpired = false
)
Public Function Get (
sessionId As Byte(),
Optional allowExpired As Boolean = false
) As ISession
public:
virtual ISession^ Get(
array<unsigned char>^ sessionId,
bool allowExpired = false
) sealed
abstract Get :
sessionId : byte[] *
?allowExpired : bool
(* Defaults:
let _allowExpired = defaultArg allowExpired false
*)
-> ISession
override Get :
sessionId : byte[] *
?allowExpired : bool
(* Defaults:
let _allowExpired = defaultArg allowExpired false
*)
-> ISession Parameters
- sessionId Byte
- The session identiifer to be authenticated. This value is just the identifier, without any signatures attached.
- allowExpired Boolean (Optional)
- When true, allows the retrieval of expired session
Return Value
ISessionThe authenticated session from the session provider
Implements
ISessionProviderServiceGet(Byte, Boolean)
See Also