Exemple #1
0
 public TokenProvider(string clientId, string redirectHost, int redirectPort, string[] scopes)
 {
     provider         = new CodeProvider(clientId, redirectHost, redirectPort, scopes);
     provider.OnCode += OnCode;
 }
Exemple #2
0
 public TokenProvider(CodeProvider provider)
 {
     this.provider         = provider;
     this.provider.OnCode += OnCode;
 }