Package com.auth0.client.mgmt
Class DeviceCredentialsEntity
java.lang.Object
com.auth0.client.mgmt.DeviceCredentialsEntity
Class that provides an implementation of the Device Credentials methods of the Management API as defined in https://auth0.com/docs/api/management/v2#!/Device_Credentials
This class is not thread-safe.
- See Also:
ManagementAPI
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate(DeviceCredentials deviceCredentials)
Create a Device Credentials.Delete an existing Device Credentials.list(DeviceCredentialsFilter filter)
Request all the Device Credentials.
-
Field Details
-
client
protected final okhttp3.OkHttpClient client -
baseUrl
protected final okhttp3.HttpUrl baseUrl -
apiToken
-
-
Method Details
-
list
Request all the Device Credentials. A token with scope read:device_credentials is needed. See https://auth0.com/docs/api/management/v2#!/Device_Credentials/get_device_credentials- Parameters:
filter
- the filter to use. Can be null.- Returns:
- a Request to execute.
-
create
Create a Device Credentials. A token with scope create:current_user_device_credentials is needed. See https://auth0.com/docs/api/management/v2#!/Device_Credentials/post_device_credentials- Parameters:
deviceCredentials
- the device credentials data to set.- Returns:
- a Request to execute.
-
delete
Delete an existing Device Credentials. A token with scope delete:device_credentials is needed. See https://auth0.com/docs/api/management/v2#!/Device_Credentials/post_device_credentials- Parameters:
deviceCredentialsId
- the device credentials id- Returns:
- a Request to execute.
-