Class NullOpenIDConnectNonceService
java.lang.Object
com.slack.api.bolt.service.builtin.NullOpenIDConnectNonceService
- All Implemented Interfaces:
OpenIDConnectNonceService,Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNewNonceToDatastore(String Nonce) Adds a newly generated Nonce value to the server-side datastore.voiddeleteNonceFromDatastore(String Nonce) Deletes a given Nonce value from the server-side datastore.Generates a new unique Nonce parameter value.booleanisAvailableInDatabase(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, waitMethods inherited from interface com.slack.api.bolt.service.OpenIDConnectNonceService
consume, extractNonceFromQueryString, issueNewNonce, isValidMethods inherited from interface com.slack.api.bolt.service.Service
initializer
-
Constructor Details
-
NullOpenIDConnectNonceService
public NullOpenIDConnectNonceService()
-
-
Method Details
-
generateNewNonceValue
Description copied from interface:OpenIDConnectNonceServiceGenerates a new unique Nonce parameter value.- Specified by:
generateNewNonceValuein interfaceOpenIDConnectNonceService
-
addNewNonceToDatastore
Description copied from interface:OpenIDConnectNonceServiceAdds a newly generated Nonce value to the server-side datastore.- Specified by:
addNewNonceToDatastorein interfaceOpenIDConnectNonceService- Throws:
Exception
-
isAvailableInDatabase
Description copied from interface:OpenIDConnectNonceServiceVerifies the Nonce value is available in the datastore and returns true if it's valid.- Specified by:
isAvailableInDatabasein interfaceOpenIDConnectNonceService
-
deleteNonceFromDatastore
Description copied from interface:OpenIDConnectNonceServiceDeletes a given Nonce value from the server-side datastore.- Specified by:
deleteNonceFromDatastorein interfaceOpenIDConnectNonceService- Throws:
Exception
-