|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.applinks.api.auth.Anonymous
public final class Anonymous
This provider performs no authentication. It provides a convenience method for creating anonymous requests without
having to catch CredentialsRequiredException as it is never thrown for unauthenticated requests.
| Constructor Summary | |
|---|---|
Anonymous()
|
|
| Method Summary | |
|---|---|
static com.atlassian.sal.api.net.Request |
createAnonymousRequest(ApplicationLink link,
com.atlassian.sal.api.net.Request.MethodType methodType,
java.lang.String url)
This is a convenience method for creating anonymous (unauthenticated) requests without having to catch the CredentialsRequiredException declared on the ApplicationLinkRequestFactory interface |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Anonymous()
| Method Detail |
|---|
public static com.atlassian.sal.api.net.Request createAnonymousRequest(ApplicationLink link,
com.atlassian.sal.api.net.Request.MethodType methodType,
java.lang.String url)
CredentialsRequiredException declared on the ApplicationLinkRequestFactory interface
link - the ApplicationLink that is the target of the requestmethodType - The HTTP method typeurl - The url to request
ApplicationLinkRequestFactory.createRequest(com.atlassian.sal.api.net.Request.MethodType, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||