com.codingapi.springboot.security.gateway.TokenGateway Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springboot-starter-security Show documentation
Show all versions of springboot-starter-security Show documentation
springboot-starter-security project for Spring Boot
package com.codingapi.springboot.security.gateway;
import java.util.List;
public interface TokenGateway {
Token create(String username, String iv, List authorities, String extra);
default Token create(String username, String iv, List authorities) {
return create(username, iv, authorities, null);
}
default Token create(String username, List authorities) {
return create(username, null, authorities, null);
}
default Token create(String username, List authorities, String extra) {
return create(username, null, authorities, extra);
}
Token parser(String sign);
}