Jaa


EmulatorValidation.IsTokenFromEmulator(String) Method

Definition

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.

Applies to