private static ValidateToken ( ILoginResult loginResult, IEnumerable |
||
loginResult | ILoginResult | |
permissions | IEnumerable |
|
return | void |
public void BasicLoginWithPublishTest() { ILoginResult result = null; FB.LogInWithPublishPermissions(this.PublishPermissions, (r) => (result = r)); Login.ValidateToken(result, this.PublishPermissions); }
public void BasicLoginWithReadTest() { ILoginResult result = null; FB.LogInWithReadPermissions(null, (r) => (result = r)); Login.ValidateToken(result, MockResults.DefaultPermissions); }
public void BasicLoginWithPublishTest() { ILoginResult result = null; FB.LogInWithPublishPermissions( this.PublishPermissions, delegate(ILoginResult r) { result = r; }); Login.ValidateToken(result, this.PublishPermissions); }