Beispiel #1
0
 public OpenIDAuthenticator(Manager manager, OIDCCallback callback)
 {
     _loginCallback   = callback;
     _callbackContext = manager?.CapturedContext ?? new TaskFactory(TaskScheduler.Current);
 }
 /// <summary>
 /// Creates an authenticator that handles an OpenID authentication flow
 /// </summary>
 /// <param name="manager">The manager associated with the replication to be performed</param>
 /// <param name="callback">The login callback to use</param>
 /// <returns>An initialized authenticator object</returns>
 public static IAuthenticator CreateOpenIDAuthenticator(Manager manager, OIDCCallback callback)
 {
     return new OpenIDAuthenticator(manager, callback);
 }
Beispiel #3
0
 public static IAuthenticator CreateOpenIDAuthenticator(Manager manager, OIDCCallback callback)
 {
     return(new OpenIDAuthenticator(manager, callback));
 }
 public OpenIDAuthenticator(Manager manager, OIDCCallback callback)
 {
     _loginCallback = callback;
     _callbackContext = manager?.CapturedContext ?? new TaskFactory(TaskScheduler.Current);
 }