Interface ScopeDescriptor
@ProviderType
public interface ScopeDescriptor
Represents localization information for the scopes of OAuth2 applications.
-
Method Summary
Modifier and TypeMethodDescriptiondescribeScope(String scope, Locale locale) Localize a scope for a given locale.
-
Method Details
-
describeScope
Localize a scope for a given locale.- Parameters:
scope- the scope to be described.locale- the locale requested for the description.- Returns:
- a description for the scope in the requested locale.
-