@Path(value="agent/authentication") @Produces(value="application/json") @Consumes(value="application/json") @Singleton public class AgentAuthenticationResource extends Object
Constructor and Description |
---|
AgentAuthenticationResource(com.atlassian.sal.api.message.I18nResolver i18nResolver,
RemoteAgentAuthenticationManager remoteAgentAuthenticationManager,
RestHelperWrapper restHelperWrapper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
authenticateAgent(String agentUuidString)
Authenticates a pending agent with the given UUID.
|
List<RestRemoteAgentAuthentication> |
getAgentAuthentications(Boolean pending)
Provides a list of all agent authentication statuses.
|
public AgentAuthenticationResource(com.atlassian.sal.api.message.I18nResolver i18nResolver, RemoteAgentAuthenticationManager remoteAgentAuthenticationManager, RestHelperWrapper restHelperWrapper)
@GET public List<RestRemoteAgentAuthentication> getAgentAuthentications(@QueryParam(value="pending") Boolean pending)
@PUT @Path(value="{agentUuid}") public javax.ws.rs.core.Response authenticateAgent(@PathParam(value="agentUuid") String agentUuidString) throws WebValidationException
WebValidationException
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.