Package com.google.auth.oauth2
Interface ExecutableHandler
-
- All Known Implementing Classes:
PluggableAuthHandler
interface ExecutableHandler
An interface for 3rd party executable handling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ExecutableHandler.ExecutableOptions
An interface for required fields needed to call 3rd party executables.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
retrieveTokenFromExecutable(ExecutableHandler.ExecutableOptions options)
Handles executing the 3rd party script and parsing the token from the response.
-
-
-
Method Detail
-
retrieveTokenFromExecutable
java.lang.String retrieveTokenFromExecutable(ExecutableHandler.ExecutableOptions options) throws java.io.IOException
Handles executing the 3rd party script and parsing the token from the response.- Parameters:
options
- A set executable options for handling the executable.- Returns:
- A 3rd party token.
- Throws:
java.io.IOException
-
-