RMauthClient: RMauthClient

Description Usage Arguments Value Author(s) See Also Examples

Description

RMauthClient initializes an RMauthClient object, which can be used to pass to makeMAuthCall to make an MAuth call.

Usage

1
2
  RMauthClient(app_uuid=NULL, mauth_base_url=NULL, mauth_api_version="v1", 
  private_key=NULL)

Arguments

app_uuid

A valid application uuid which has been pre-registered with a valid mauth instance you are making requests to

mauth_base_url

The base url of the mauth instance your app_uuid and keys are registered with

mauth_api_version

Should be v1, but if its something else, please specify it.

private_key

Your private key, in pem format, as a string Note: IT SHOULD BE A CHARACTER VECTOR, one item per line of the keyfile (see example usage file)

Value

RMAuthClient object

Author(s)

Pramod Somashekar <[email protected]>

See Also

RMauthClient-package

Examples

1
2
3
4
5
  data(testKey)

  c <- RMauthClient(app_uuid="aaabbbcc-dddd-abcd-abcd-eff6b4b0b637", 
                    mauth_base_url="https://mauth-sandbox.imedidata.net",
                    private_key=testKey)

mdsol/RMauthClient documentation built on May 22, 2019, 4:24 p.m.