apis.coap.authorization.ownerClaim | string | Claim used to identify owner of the device. Combination of ownerClaim set to sub is not compatible if at least one authorization provider uses grant type clientCredentials. | "sub" |
apis.coap.authorization.deviceIDClaim | string | Claim used to identify device id of the device. Empty means that JWT doesn't contain it. | "" |
apis.coap.authorization.providers[].name | string | Provider name, the register request of the device must contain one of the names of providers. | "" |
apis.coap.authorization.providers[].clientID | string | Client ID to exchange an authorization code for an access token. | "" |
apis.coap.authorization.providers[].clientSecretFile | string | File path to client secret required to exchange an authorization code for an access token. | "" |
apis.coap.authorization.providers[].grantType | string | A grant type of OAuth provider specifies how the device signing up process is authorized. Combination of apis.coap.authorization.ownerClaim set to sub is not compatible if at least one authorization provider uses grant type clientCredentials. Supported values: authorizationCode, clientCredentials | "authorizationCode" |
apis.coap.authorization.providers[].scopes | string array | List of required scopes. | "" |
apis.coap.authorization.providers[].authority | string | Authority is the address of the token-issuing authentication server. Services will use this URI to find and retrieve the public key that can be used to validate the token’s signature. | "" |
apis.coap.authorization.providers[].audience | string | Audience of OAuth provider. | "" |
apis.coap.authorization.providers[].redirectURL | string | Redirect url used to obtain device access token. | "" |
apis.coap.authorization.providers[].http.maxIdleConns | int | It controls the maximum number of idle (keep-alive) connections across all hosts. Zero means no limit. | 16 |
apis.coap.authorization.providers[].http.maxConnsPerHost | int | It optionally limits the total number of connections per host, including connections in the dialing, active, and idle states. On limit violation, dials will block. Zero means no limit. | 32 |
apis.coap.authorization.providers[].http.maxIdleConnsPerHost | int | If non-zero, controls the maximum idle (keep-alive) connections to keep per-host. If zero, DefaultMaxIdleConnsPerHost is used. | 16 |
apis.coap.authorization.providers[].http.idleConnTimeout | string | The maximum amount of time an idle (keep-alive) connection will remain idle before closing itself. Zero means no limit. | 30s |
apis.coap.authorization.providers[].http.timeout | string | A time limit for requests made by this Client. A Timeout of zero means no timeout. | 10s |
apis.coap.authorization.providers[].http.tls.caPool | []string | File paths to the root certificates in PEM format. The file may contain multiple certificates. | [] |
apis.coap.authorization.providers[].http.tls.keyFile | string | File path to private key in PEM format. | "" |
apis.coap.authorization.providers[].http.tls.certFile | string | File path to certificate in PEM format. | "" |
apis.coap.authorization.providers[].http.tls.useSystemCAPool | bool | If true, use system certification pool. | false |
apis.coap.authorization.tokenTrustVerification.cacheExpiration | string | Duration for which a valid token is kept in a runtime cache before re-verification is required. | 30s |