Auth
A collection of authentication related API endpoints
These endpoints allow for various functionality related to authentication. Also contains the Grants API and collection of provider API endpoints.
Parameters
client
The configured Nylas API client
Functions
Link copied to clipboard
Get info about an access token
Link copied to clipboard
Create a grant via custom authentication
Link copied to clipboard
Detect provider from email address
Link copied to clipboard
Exchange an authorization code for an access token
Link copied to clipboard
Get info about an ID token
Link copied to clipboard
Refresh an access token
Link copied to clipboard
Build the URL for admin consent authentication for Microsoft
Link copied to clipboard
Build the URL for authenticating users to your application with OAuth 2.0
Link copied to clipboard
Build the URL for authenticating users to your application with OAuth 2.0 and PKCE