b2c_get_token: Acquire a token

Description Usage Arguments Value Examples

View source: R/b2c_get_token.R

Description

Acquire a token

Usage

1
2
3
4
5
b2c_get_token(config = list(app_name = "lddemo", client_id =
  "0e490a89-b382-4d3b-9f6b-60630dfd624b", client_secret = NULL,
  resource_uri = "https://jwt.ms", redirect_uri = "https://jwt.ms", scopes
  = "openid", tenant = "nightingalehq", flow = "B2C_1_SignUpAndSignIn"),
  ...)

Arguments

config

B2C config, usually retrieved with b2c_get_config()

...

Other arguments passed to httr::oauth2.0_token()

Value

a httr oauth2.0 token

Examples

1

lockedata/azureB2C documentation built on May 3, 2019, 1:31 p.m.