Interface LiferayOAuth2Scope


public interface LiferayOAuth2Scope
Represents an application exported scope for Liferay's OAuth2 Provider framework.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the application that provides the scope.
    org.osgi.framework.Bundle
    Returns the OSGi bundle context where the application and scope are published.
    Returns the scope name as registered in the OAuth2 Provider framework.
  • Method Details

    • getApplicationName

      String getApplicationName()
      Returns the name of the application that provides the scope. This usually refers to the JAX-RS application name.
      Returns:
      the non-null application name
    • getBundle

      org.osgi.framework.Bundle getBundle()
      Returns the OSGi bundle context where the application and scope are published.
      Returns:
      the non-null OSGi bundle
    • getScope

      String getScope()
      Returns the scope name as registered in the OAuth2 Provider framework.
      Returns:
      the non-null scope name