Example #1
0
 private static async Task RunAuthOptions(AuthenticatorOptions options)
 {
     try
     {
         var authenticator = new Authenticator(options);
         await authenticator.RunAsync();
     }
     catch (Exception exception)
     {
         Utils.WriteRedText($"Error occured: {exception.Message}");
     }
 }
Example #2
0
 public Authenticator(AuthenticatorOptions options)
 {
     this.options = options;
 }
Example #3
0
 public Authenticator(AuthenticatorOptions options)
 {
     this.options = options;
     services     = new PluralsightService();
 }