public interface WebAuthStrategyAdapter
WebAuthStrategies
Modifier and Type | Method and Description |
---|---|
WebAuthStrategy |
create(com.google.gson.JsonElement config)
Create an
WebAuthStrategy instance based on the given JSON config |
java.lang.String |
parseState(HttpRequest httpRequest)
Parse the state string from the incoming Http Request
|
@Nonnull WebAuthStrategy create(@Nonnull com.google.gson.JsonElement config) throws WebAuthStrategyAdapterException
WebAuthStrategy
instance based on the given JSON configconfig
- The JSON config for this web auth strategyWebAuthStrategy
instance created for the given JSON configWebAuthStrategyAdapterException
- if there was a problem creating an WebAuthStrategy
instance
for the given JSON config@Nonnull java.lang.String parseState(@Nonnull HttpRequest httpRequest) throws WebAuthStrategyAdapterException
httpRequest
- The incoming Http RequestWebAuthStrategyAdapterException
- if there is a problem parsing the state string from the incoming Http
Request