Interface LiferayOAuth2Scope
public interface LiferayOAuth2Scope
Represents an application exported scope for Liferay's OAuth2 Provider
framework.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the application that provides the scope.org.osgi.framework.BundleReturns the OSGi bundle context where the application and scope are published.getScope()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-
nullapplication name
-
getBundle
org.osgi.framework.Bundle getBundle()Returns the OSGi bundle context where the application and scope are published.- Returns:
- the non-
nullOSGi bundle
-
getScope
String getScope()Returns the scope name as registered in the OAuth2 Provider framework.- Returns:
- the non-
nullscope name
-