 | 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.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxbool TryDecode(
string encodedToken,
out byte[] token
)
Function TryDecode (
encodedToken As String,
<OutAttribute> ByRef token As Byte()
) As Boolean
bool TryDecode(
String^ encodedToken,
[OutAttribute] array<unsigned char>^% token
)
abstract TryDecode :
encodedToken : string *
token : byte[] byref -> bool Parameters
- encodedToken String
- An encoded token that was generated through Encode(Byte).
- token Byte
- The resulting decoded token when decoding is successful.
Return Value
Booleantrue When decoding succeeds, false otherwise.
See Also