api-key
Toggle table of contents
0.1.0-alpha02
common
Platform filter
common
Switch theme
Search in API
api-key
api-key
/
io.toxicity.api.key
/
ApiKey
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
create
Link copied to clipboard
@
JvmStatic
@
JvmOverloads
fun
<
P
:
ApiKey.Property
>
create
(
privateKey
:
ByteArray
,
clear
:
Boolean
,
keyId
:
String
,
properties
:
Set
<
P
>
,
daysUntilExpiry
:
Int
,
extras
:
Set
<
String
>
=
emptySet()
)
:
ApiKey
<
P
>
Creates a new
ApiKey
for the provided arguments.
create
Api
Key
Link copied to clipboard
@
JvmStatic
@
JvmOverloads
fun
<
P
:
ApiKey.Property
>
RSAKey.Private
.
createApiKey
(
keyId
:
String
,
properties
:
Set
<
P
>
,
daysUntilExpiry
:
Int
,
extras
:
Set
<
String
>
=
emptySet()
)
:
ApiKey
<
P
>
Creates a new
ApiKey
for provided arguments.