Interface ScopeDescriptor


@ProviderType public interface ScopeDescriptor
Represents localization information for the scopes of OAuth2 applications.
  • Method Summary

    Modifier and Type
    Method
    Description
    describeScope(String scope, Locale locale)
    Localize a scope for a given locale.
  • Method Details

    • describeScope

      String describeScope(String scope, Locale locale)
      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.