Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Could you provide some sample Java code for Cognito UserPool Authorizer client #52

Open
sysout opened this issue Jan 6, 2018 · 0 comments

Comments

@sysout
Copy link

sysout commented Jan 6, 2018

This is from the generated java SDK

import com.amazonaws.ImmutableRequest;

import spacefinder.auth.SpacefinderUserPoolAuthorizer;

public class SpacefinderUserPoolAuthorizerImpl implements SpacefinderUserPoolAuthorizer {

	@Override
	public String generateToken(ImmutableRequest<?> request) {
		return "some-generated-auth-token";
	}
}

Obviously, there is a big gap between "some-generated-auth-token" and a working Authorizer client.
We want to use Cognito User Pools + Cognito Federated Identities + Amazon API Gateway to create an API for third party developers.
I really appreciate the help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant