com.blade.oauth2.issuer.UUIDValueGenerator Maven / Gradle / Ivy
/**
*
*/
package com.blade.oauth2.issuer;
import java.util.UUID;
/**
*
* @author BruceZCQ [[email protected]]
* @version
*/
public class UUIDValueGenerator extends ValueGenerator {
@Override
public String generateValue(String param) {
return UUID.fromString(UUID.nameUUIDFromBytes(param.getBytes()).toString()).toString();
}
}