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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves theclient-keythat, together with aclient-secret, grants application-level API access token for this tool on a Mastodon instance.Retrieves theclient-secretthat, together with aclient-key, grants application-level API access token for this tool on a Mastodon instance.
-
Constructor Details
-
ClientCredentialSet
- Parameters:
clientKey- aclient-keyfor the tool on a Mastodon instanceclientSecret- aclient-secretfor the tool on a Mastodon instance- Since:
- 0.01.00
-
-
Method Details
-
getClientKey
Retrieves theclient-keythat, together with aclient-secret, grants application-level API access token for this tool on a Mastodon instance.- Returns:
- a
client-keyfor the tool on a Mastodon instance - Since:
- 0.01.00
-
getClientSecret
Retrieves theclient-secretthat, together with aclient-key, grants application-level API access token for this tool on a Mastodon instance.- Returns:
- a
client-secretfor the tool on a Mastodon instance - Since:
- 0.01.00
-