You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Contract/API/Management/KeysInterface.php
+103Lines changed: 103 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,92 @@
9
9
10
10
interface KeysInterface
11
11
{
12
+
/**
13
+
* Delete the custom provided encryption key with the given ID and move back to using native encryption key.
14
+
* Required scope: `delete:encryption_keys`.
15
+
*
16
+
* @param string $kId key (by it's ID) to query
17
+
* @param null|RequestOptions $options Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
18
+
*
19
+
* @throws \Auth0\SDK\Exception\ArgumentException when an invalid `grantId` is provided
20
+
* @throws \Auth0\SDK\Exception\NetworkException when the API request fails due to a network error
* Retrieve details of the encryption key with the given ID..
31
+
* Required scopes: `read:encryption_key`.
32
+
*
33
+
* @param string $kId key (by it's ID) to query
34
+
* @param null|RequestOptions $options Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
35
+
*
36
+
* @throws \Auth0\SDK\Exception\ArgumentException when an invalid `kId` is provided
37
+
* @throws \Auth0\SDK\Exception\NetworkException when the API request fails due to a network error
* Retrieve details of all the encryption keys associated with your tenant.
48
+
* Required scope: `read:encryption_keys`.
49
+
*
50
+
* @param null|int[]|null[]|string[] $parameters Optional. Additional query parameters to pass with the API request. See @see for supported options.
51
+
* @param null|RequestOptions $options Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
52
+
*
53
+
* @throws \Auth0\SDK\Exception\NetworkException when the API request fails due to a network error
* Create the new, pre-activated encryption key, without the key material.
64
+
* Required scope: `create:encryption_keys`.
65
+
*
66
+
* @param array<mixed> $body Additional body content to pass with the API request. See @see for supported options.
67
+
* @param null|RequestOptions $options Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
68
+
*
69
+
* @throws \Auth0\SDK\Exception\ArgumentException when an invalid `body` are provided
70
+
* @throws \Auth0\SDK\Exception\NetworkException when the API request fails due to a network error
* Import wrapped key material and activate encryption key.
81
+
* Required scope: `create:encryption_keys`.
82
+
*
83
+
* @param string $kId key (by it's ID) to query
84
+
* @param array<mixed> $body Additional body content to pass with the API request. See @see for supported options.
85
+
* @param null|RequestOptions $options Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
86
+
*
87
+
* @throws \Auth0\SDK\Exception\ArgumentException when an invalid `body` are provided
88
+
* @throws \Auth0\SDK\Exception\NetworkException when the API request fails due to a network error
* Create the public wrapping key to wrap your own encryption key material.
114
+
* Required scope: `create:encryption_keys`.
115
+
*
116
+
* @param string $kId key (by it's ID) to query
117
+
* @param null|RequestOptions $options Optional. Additional request options to use, such as a field filtering or pagination. (Not all endpoints support these. See @see for supported options.)
118
+
*
119
+
* @throws \Auth0\SDK\Exception\ArgumentException when an invalid `body` are provided
120
+
* @throws \Auth0\SDK\Exception\NetworkException when the API request fails due to a network error
0 commit comments