Java Code Examples for org.apache.cxf.rs.security.oauth2.utils.OAuthConstants#REFRESH_TOKEN_TYPE

The following examples show how to use org.apache.cxf.rs.security.oauth2.utils.OAuthConstants#REFRESH_TOKEN_TYPE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RefreshToken.java    From cxf with Apache License 2.0 5 votes vote down vote up
public RefreshToken(Client client,
                    long lifetime) {
    super(client,
            OAuthConstants.REFRESH_TOKEN_TYPE,
            OAuthUtils.generateRandomTokenKey(),
            lifetime,
            OAuthUtils.getIssuedAt());
}
 
Example 2
Source File: RefreshToken.java    From cxf with Apache License 2.0 5 votes vote down vote up
public RefreshToken(Client client,
                    String tokenKey,
                    long lifetime,
                    long issuedAt) {
    super(client,
            OAuthConstants.REFRESH_TOKEN_TYPE,
            tokenKey,
            lifetime,
            issuedAt);
}