Find and instantiate a challenge handler by the class of ChallengeHandler.
the desired class of challenge handler
Namespace:
Kaazing.SecurityReturn Value
the appropriate ChallengeHandler, or null if no such handler can be found.Assembly: Kaazing.Gateway (in Kaazing.Gateway.dll)
Syntax
Visual Basic |
---|
Public Shared Function Load(Of T As ChallengeHandler) ( _ clazz As Type _ ) As T |
C# |
---|
public static T Load<T>( Type clazz ) where T : ChallengeHandler |
Visual C++ |
---|
public: generic<typename T> where T : ChallengeHandler static T Load( Type^ clazz ) |
Parameters
- clazz
- Type: System..::..Type
Type Parameters
- T