get_app_api_token: get_client_api_token

Description Usage Arguments Details Value See Also Examples

Description

Get app api token used to read app profile

Usage

1
get_client_api_token(client_id, client_secret, domain)

Arguments

client_id

Auth0 app client id

client_secret

Auth0 app secret

Domain

Auth0 app domain

Details

DETAILS

Value

Returns full api token response

See Also

POST,content toJSON, fromJSON

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
if(interactive()){
 api_tokens<-get_client_api_token(app_client_id,app_secret,Domain)

client<-  get_client_profile(api_tokens$access_token,app_client_id,Domain)

}

## End(Not run)

ceparman/ShinyPlatform documentation built on Dec. 30, 2020, 9:47 p.m.