All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blade.oauth2.issuer.OAuthIssuerKit Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
/**
 * 
 */

package com.blade.oauth2.issuer;

/**
 * 
 * @author BruceZCQ [[email protected]]
 * @version
 */
public class OAuthIssuerKit implements OAuthIssuer {

    private ValueGenerator vg;

    public OAuthIssuerKit(ValueGenerator vg) {
        this.vg = vg;
    }

    public String accessToken() {
        return vg.generateValue();
    }

    public String refreshToken() {
        return vg.generateValue();
    }

    public String authorizationCode() {
        return vg.generateValue();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy