News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How do I call C# RingCentral Client Authoirze() method?
Tags: getting started
Oct 22, 2018 at 7:16am   •   2 replies  •  0 likes
rick-smith

Need info on Calling RingCentral C# Authorize Method? There seems to be little or no documentation on this thing I'm trying this:

public async void MyLogin()

{


await myClient.Authorize("+1XXXXXXXXX", "", "password");

}

This is no good of course it needs to return something but what? Please guys need more documentation!!!!


Thanks



2 Answers
answered on Oct 22, 2018 at 10:28am  
Ok I got it figured out sort of; now it wants netstandard added. Did this within csproj but no go, it still doesnt like Authorize.

Sheesh...Lots of problems!!!

 0
answered on Oct 22, 2018 at 7:19am  
It does return something which you can inspect that method's return type if you use Visual Studio.

And the returned thing is not important if you just want to invoke some API call. As long as the authorize doesn't throw exception, you are authorized and you can go ahead to make API calls.

If there are exception, you can catch it and print the response: https://github.com/ringcentral/ringcentral-csharp-client#exception-handling

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us