Class OAuth2Client
- java.lang.Object
-
- org.wildfly.security.mechanism.oauth2.OAuth2Client
-
public class OAuth2Client extends Object
- Author:
- Pedro Igor
-
-
Field Summary
Fields Modifier and Type Field Description private String
authorizationId
private CallbackHandler
callbackHandler
private static String
KV_DELIMITER
private ElytronMessages
log
-
Constructor Summary
Constructors Constructor Description OAuth2Client(String authorizationId, CallbackHandler callbackHandler, ElytronMessages log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuth2InitialClientMessage
getInitialResponse()
byte[]
handleServerResponse(byte[] serverMessage)
-
-
-
Field Detail
-
KV_DELIMITER
private static final String KV_DELIMITER
- See Also:
- Constant Field Values
-
callbackHandler
private final CallbackHandler callbackHandler
-
authorizationId
private final String authorizationId
-
log
private ElytronMessages log
-
-
Constructor Detail
-
OAuth2Client
public OAuth2Client(String authorizationId, CallbackHandler callbackHandler, ElytronMessages log)
-
-
Method Detail
-
getInitialResponse
public OAuth2InitialClientMessage getInitialResponse() throws AuthenticationMechanismException
- Throws:
AuthenticationMechanismException
-
handleServerResponse
public byte[] handleServerResponse(byte[] serverMessage)
-
-