fengxiang
2018-07-04 28b17e7a9b0bd3a8ed545aff4f077fe981db85d2
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();
    }
}