BasicallyMe.RobinhoodNet.Raw.RawRobinhoodClient.Authenticate C# (CSharp) Method

Authenticate() public method

public Authenticate ( string token ) : System.Threading.Tasks.Task
token string
return System.Threading.Tasks.Task
        public Task Authenticate (string token)
        {
            this.AuthToken = token;

            var tcs = new TaskCompletionSource<bool>();
            tcs.SetResult(true);
            return tcs.Task;
        }
    }

Same methods

RawRobinhoodClient::Authenticate ( string userName, string password ) : System.Threading.Tasks.Task

Usage Example

Example #1
0
 public bool Authenticate(string userName, string password)
 {
     return(_rawClient.Authenticate(userName, password).Result);
 }
All Usage Examples Of BasicallyMe.RobinhoodNet.Raw.RawRobinhoodClient::Authenticate