Class JwtTokens
- java.lang.Object
-
- net.officefloor.tutorial.jwthttpserver.JwtTokens
-
public class JwtTokens extends java.lang.Object
Undertakes login.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JwtTokens.Credentials
static class
JwtTokens.Token
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REFRESH_TOKEN_COOKIE_NAME
-
Constructor Summary
Constructors Constructor Description JwtTokens()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
login(JwtTokens.Credentials credentials, JwtAuthority<Identity> authority, ObjectResponse<JwtTokens.Token> response, ServerHttpConnection connection)
void
refreshAccessToken(ServerHttpConnection connection, JwtAuthority<Identity> authority, ObjectResponse<JwtTokens.Token> response)
-
-
-
Field Detail
-
REFRESH_TOKEN_COOKIE_NAME
public static final java.lang.String REFRESH_TOKEN_COOKIE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
login
public void login(JwtTokens.Credentials credentials, JwtAuthority<Identity> authority, ObjectResponse<JwtTokens.Token> response, ServerHttpConnection connection)
-
refreshAccessToken
public void refreshAccessToken(ServerHttpConnection connection, JwtAuthority<Identity> authority, ObjectResponse<JwtTokens.Token> response)
-
-