Package io.github.mastodonContentMover
Class ClientCredentialSet
java.lang.Object
io.github.mastodonContentMover.ClientCredentialSet
Holds in an XML-persistable object a
client-key
and client-secret
pair that grants application-level API credentials for the tool with a Mastodon
instance.
- Since:
- 0.01.00
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves theclient-key
that, together with aclient-secret
, grants application-level API access token for this tool on a Mastodon instance.Retrieves theclient-secret
that, together with aclient-key
, grants application-level API access token for this tool on a Mastodon instance.
-
Constructor Details
-
ClientCredentialSet
- Parameters:
clientKey
- aclient-key
for the tool on a Mastodon instanceclientSecret
- aclient-secret
for the tool on a Mastodon instance- Since:
- 0.01.00
-
-
Method Details
-
getClientKey
Retrieves theclient-key
that, together with aclient-secret
, grants application-level API access token for this tool on a Mastodon instance.- Returns:
- a
client-key
for the tool on a Mastodon instance - Since:
- 0.01.00
-
getClientSecret
Retrieves theclient-secret
that, together with aclient-key
, grants application-level API access token for this tool on a Mastodon instance.- Returns:
- a
client-secret
for the tool on a Mastodon instance - Since:
- 0.01.00
-