jinpengyong
2020-10-19 746d419165c66d6a1f33a0a9df199e0b6daf3114
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.moral.security.model;
 
/**
 * Scopes
 * 
 * @author vladimir.stankovic
 *
 * Aug 18, 2016
 */
public enum Scopes {
    REFRESH_TOKEN;
    
    public String authority() {
        return "ROLE_" + this.name();
    }
}