fengxiang
2018-05-10 c976fedb4d58a23aff930188d4031adac54a3037
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();
    }
}