 | ISessionProviderServiceGet Method |
Authenticates the session identifier as evidence of session
Namespace: SanteDB.Core.Security.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
SyntaxISession Get(
byte[] sessionId,
bool allowExpired = false
)
Function Get (
sessionId As Byte(),
Optional allowExpired As Boolean = false
) As ISession
ISession^ Get(
array<unsigned char>^ sessionId,
bool allowExpired = false
)
abstract 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
See Also