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

com.codingapi.springboot.security.gateway.TokenGateway Maven / Gradle / Ivy

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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy