public final class Anonymous extends Object implements AuthenticationProvider
CredentialsRequiredException as it is never thrown for unauthenticated requests.| Constructor and Description |
|---|
Anonymous() |
| Modifier and Type | Method and Description |
|---|---|
static com.atlassian.sal.api.net.Request |
createAnonymousRequest(ApplicationLink link,
com.atlassian.sal.api.net.Request.MethodType methodType,
String url)
This is a convenience method for creating anonymous (unauthenticated) requests without having to catch the
CredentialsRequiredException declared on the ApplicationLinkRequestFactory interface |
public static com.atlassian.sal.api.net.Request createAnonymousRequest(ApplicationLink link, com.atlassian.sal.api.net.Request.MethodType methodType, String url)
CredentialsRequiredException declared on the ApplicationLinkRequestFactory interfacelink - the ApplicationLink that is the target of the requestmethodType - The HTTP method typeurl - The url to requestApplicationLinkRequestFactory.createRequest(com.atlassian.sal.api.net.Request.MethodType, java.lang.String)Copyright © 2020 Atlassian. All rights reserved.