Class NullOpenIDConnectNonceService
java.lang.Object
com.slack.api.bolt.service.builtin.NullOpenIDConnectNonceService
- All Implemented Interfaces:
OpenIDConnectNonceService
,Service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewNonceToDatastore
(String Nonce) Adds a newly generated Nonce value to the server-side datastore.void
deleteNonceFromDatastore
(String Nonce) Deletes a given Nonce value from the server-side datastore.Generates a new unique Nonce parameter value.boolean
isAvailableInDatabase
(String Nonce) Verifies the Nonce value is available in the datastore and returns true if it's valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.slack.api.bolt.service.OpenIDConnectNonceService
consume, extractNonceFromQueryString, issueNewNonce, isValid
Methods inherited from interface com.slack.api.bolt.service.Service
initializer
-
Constructor Details
-
NullOpenIDConnectNonceService
public NullOpenIDConnectNonceService()
-
-
Method Details
-
generateNewNonceValue
Description copied from interface:OpenIDConnectNonceService
Generates a new unique Nonce parameter value.- Specified by:
generateNewNonceValue
in interfaceOpenIDConnectNonceService
-
addNewNonceToDatastore
Description copied from interface:OpenIDConnectNonceService
Adds a newly generated Nonce value to the server-side datastore.- Specified by:
addNewNonceToDatastore
in interfaceOpenIDConnectNonceService
- Throws:
Exception
-
isAvailableInDatabase
Description copied from interface:OpenIDConnectNonceService
Verifies the Nonce value is available in the datastore and returns true if it's valid.- Specified by:
isAvailableInDatabase
in interfaceOpenIDConnectNonceService
-
deleteNonceFromDatastore
Description copied from interface:OpenIDConnectNonceService
Deletes a given Nonce value from the server-side datastore.- Specified by:
deleteNonceFromDatastore
in interfaceOpenIDConnectNonceService
- Throws:
Exception
-