EmulatorValidation.IsTokenFromEmulator(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a given Auth header is from the Bot Framework Emulator.
public static bool IsTokenFromEmulator (string authHeader);
static member IsTokenFromEmulator : string -> bool
Public Shared Function IsTokenFromEmulator (authHeader As String) As Boolean
Parameters
- authHeader
- String
Bearer Token, in the "Bearer [Long String]" Format.
Returns
True, if the token was issued by the Emulator. Otherwise, false.