Package com.atlassian.connect.spring
Class AtlassianForgeRestClients
java.lang.Object
com.atlassian.connect.spring.AtlassianForgeRestClients
- All Implemented Interfaces:
ForgeRequestProductMethods
public abstract class AtlassianForgeRestClients
extends Object
implements ForgeRequestProductMethods
A
ForgeRequestProductMethods
that provides methods to make Forge authenticated requests to the Atlassian products-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract ForgeRequestProductMethods
asApp()
For making requests to Atlassian products using OAuth 2.0 The principal of the request is the app.abstract ForgeRequestProductMethods
asUser()
For making requests to Atlassian products using OAuth 2.0 The principal of the request is the user.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.connect.spring.ForgeRequestProductMethods
request, requestConfluence, requestJira
-
Constructor Details
-
AtlassianForgeRestClients
public AtlassianForgeRestClients()
-
-
Method Details
-
asApp
For making requests to Atlassian products using OAuth 2.0 The principal of the request is the app.- Returns:
- a REST client
-
asUser
For making requests to Atlassian products using OAuth 2.0 The principal of the request is the user.- Returns:
- a REST client
-