Click or drag to resize

ISessionTokenEncodingServiceTryDecode Method

Attempts to decode a token. Will return a decoded token in token if the result is true, null otherwise.

Namespace: SanteDB.Core.Security.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
bool TryDecode(
	string encodedToken,
	out byte[] token
)

Parameters

encodedToken  String
An encoded token that was generated through Encode(Byte).
token  Byte
The resulting decoded token when decoding is successful.

Return Value

Boolean
true When decoding succeeds, false otherwise.
See Also