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}"); } }
public Authenticator(AuthenticatorOptions options) { this.options = options; }
public Authenticator(AuthenticatorOptions options) { this.options = options; services = new PluralsightService(); }