29 lines
647 B
Java
29 lines
647 B
Java
package me.zhyd.oauth.enums.scope;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Getter;
|
|
|
|
/**
|
|
* Line 平台 OAuth 授权范围
|
|
*
|
|
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
|
|
* @since 1.16.0
|
|
*/
|
|
@Getter
|
|
@AllArgsConstructor
|
|
public enum AuthLineScope implements AuthScope {
|
|
|
|
/**
|
|
* {@code scope} 含义,以{@code description} 为准
|
|
*/
|
|
|
|
PROFILE("profile", "Get profile details", true),
|
|
OPENID("openid", "Get id token", true),
|
|
EMAIL("email", "Get email (separate authorization required)", false);
|
|
|
|
private final String scope;
|
|
private final String description;
|
|
private final boolean isDefault;
|
|
|
|
}
|