| ISessionProviderServiceGet Method |
Authenticates the session identifier as evidence of session
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax ISession Get(
byte[] sessionToken,
bool allowExpired = false
)
Function Get (
sessionToken As Byte(),
Optional allowExpired As Boolean = false
) As ISession
ISession^ Get(
array<unsigned char>^ sessionToken,
bool allowExpired = false
)
abstract Get :
sessionToken : byte[] *
?allowExpired : bool
(* Defaults:
let _allowExpired = defaultArg allowExpired false
*)
-> ISession
Parameters
- sessionToken
- Type: SystemByte
The session identiifer to be authenticated - allowExpired (Optional)
- Type: SystemBoolean
When true, allows the retrieval of expired session
Return Value
Type:
ISessionThe authenticated session from the session provider
See Also