@Singleton public class AuthenticationArgumentBinder extends Object implements TypedRequestArgumentBinder<Authentication>
ArgumentBinder.BindingResult<T>| Constructor and Description |
|---|
AuthenticationArgumentBinder() |
| Modifier and Type | Method and Description |
|---|---|
Argument<Authentication> |
argumentType() |
ArgumentBinder.BindingResult<Authentication> |
bind(ArgumentConversionContext<Authentication> context,
HttpRequest<?> source)
Bind the given argument from the given source.
|
public Argument<Authentication> argumentType()
argumentType in interface TypeArgumentBinder<Authentication,HttpRequest<?>>public ArgumentBinder.BindingResult<Authentication> bind(ArgumentConversionContext<Authentication> context, HttpRequest<?> source)
ArgumentBinderbind in interface ArgumentBinder<Authentication,HttpRequest<?>>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()