public class OAuth2AuthenticationAction extends play.mvc.Action<OAuth2Authentication>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCESS_TOKEN |
static java.lang.String |
AUTHORIZATION |
static java.lang.String |
BEARER |
| Constructor and Description |
|---|
OAuth2AuthenticationAction() |
| Modifier and Type | Method and Description |
|---|---|
protected static play.libs.F.Promise<play.mvc.Result> |
authorizeAndCall(play.mvc.Http.Context context,
play.mvc.Action<?> delegate) |
play.libs.F.Promise<play.mvc.Result> |
call(play.mvc.Http.Context context) |
protected static org.springframework.security.authentication.UsernamePasswordAuthenticationToken |
getAuthentication(UserAuthentication user) |
badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, badRequest, created, created, created, created, created, created, created, created, created, created, created, created, created, created, created, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, forbidden, found, found, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, internalServerError, movedPermanently, movedPermanently, noContent, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, notFound, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, ok, redirect, redirect, seeOther, seeOther, status, status, status, status, status, status, status, status, status, status, status, status, status, temporaryRedirect, temporaryRedirect, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorized, unauthorizedpublic static java.lang.String ACCESS_TOKEN
public static java.lang.String AUTHORIZATION
public static java.lang.String BEARER
protected static play.libs.F.Promise<play.mvc.Result> authorizeAndCall(play.mvc.Http.Context context,
play.mvc.Action<?> delegate)
throws java.lang.Throwable
java.lang.Throwableprotected static org.springframework.security.authentication.UsernamePasswordAuthenticationToken getAuthentication(UserAuthentication user)
public play.libs.F.Promise<play.mvc.Result> call(play.mvc.Http.Context context)
throws java.lang.Throwable
call in class play.mvc.Action<OAuth2Authentication>java.lang.Throwable