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

com.alibaba.spring.boot.rsocket.broker.security.RSocketAppPrincipal Maven / Gradle / Ivy

There is a newer version: 1.1.6
Show newest version
package com.alibaba.spring.boot.rsocket.broker.security;

import java.security.Principal;
import java.util.List;
import java.util.Set;

/**
 * RSocket APP Principal: 接入认证信息
 *
 * @author leijuan
 */
public interface RSocketAppPrincipal extends Principal {
    /**
     * get token id
     *
     * @return token id
     */
    String getTokenId();

    String getSubject();

    List getAudience();

    Set getRoles();

    Set getAuthorities();

    Set getServiceAccounts();

    Set getOrganizations();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy