BitBucket Plugin with Bamboo Integration

I’m writing a BitBucket plugin that will integrate with Bamboo to download an artifact from a build plan. I’m doing this via the Bamboo rest api, but am running into issues with authentication. Everything I’ve found so far requires me to send the user credentials with Bamboo requests in order for it to authenticate successfully. Since the user has already logged in with BitBucket, is there any way to use that same login context so I don’t have to send user credentials with every request?

Take a look at Application Links:

for api: