is_user_authorized
Check whether a user, identified from GitHub API token, is authorized to call endpoints.
Description
This function is used only in the plumber endpoints, to prevent them being called by unauthorized users.
Usage
is_user_authorized(secret = NULL)
Arguments
Argument |
Description |
---|---|
|
Environment variable |
Value
Logical value indicating whether or not a user is authorized.
Seealso
Other ropensci:
check_issue_template
,
push_to_gh_pages
,
readme_has_peer_review_badge
,
srr_counts_summary
,
srr_counts
,
stats_badge