api-authorization: Authorization

api-authorizationR Documentation

Authorization

Description

These are the routes for authing the API and going through the OAuth flow. Applications utilizing the personal API token do not need these functions.

Usage

cu_get_access_token(client_id, client_secret, code, cu_token = NULL)

cu_get_authorized_user(cu_token = NULL)

cu_get_authorized_teams(cu_token = NULL)

Arguments

client_id

Oauth app client id.

client_secret

Oauth app client secret.

code

Code given in redirect URL.

cu_token

ClickUp personal access token or an access token from the OAuth flow. The CU_PAT environment variable is used when NULL.

Value

A cu object.

See Also

cu for the cu object class.


psolymos/clickrup documentation built on Feb. 9, 2024, 10:09 a.m.