com.blade.oauth2.issuer.OAuthIssuerKit Maven / Gradle / Ivy
/**
*
*/
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();
}
}