Ejemplo n.º 1
0
 public void Add(FacebookScope scope)
 {
     _list.Add(scope);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Generates the authorization URL using the specified state and scope.
 /// </summary>
 /// <param name="state">The state to send to Facebook's OAuth login page.</param>
 /// <param name="scope">The scope of the application.</param>
 /// <see cref="https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/#login" />
 public string GetAuthorizationUrl(string state, FacebookScope scope)
 {
     return(Client.GetAuthorizationUrl(state, scope.Name));
 }