jinpengyong
2020-06-22 f3a83f291df05ee8de20fd751e720ac761f8586e
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();
    }
}