コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Converters"/> class.
 /// </summary>
 /// <param name="parent">TokenExtensionConfig containing necessary context & methods</param>
 public Converters(AuthTokenExtensionConfig parent)
 {
     this._parent = parent;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EasyAuthTokenClient"/> class.
 /// </summary>
 /// <param name="hostName">The hostname of the webapp </param>
 /// <param name="signingKey">The website authorization signing key</param>
 public EasyAuthTokenClient(string hostName, ILoggerFactory loggerFactory)
 {
     _baseUrl = "https://" + hostName + "/";
     _log     = loggerFactory.CreateLogger(AuthTokenExtensionConfig.CreateBindingCategory("AuthToken"));
 }