Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs are very unclear #1

Open
mikeck1 opened this issue Jul 7, 2020 · 0 comments
Open

Docs are very unclear #1

mikeck1 opened this issue Jul 7, 2020 · 0 comments

Comments

@mikeck1
Copy link

mikeck1 commented Jul 7, 2020

(base) Michaels-MacBook-Pro-5:examples mikeck$ javac FirstTokenProgram.java FirstTokenProgram.java:32: error: package main.java.com.client.api.constants does not exist import main.java.com.client.api.constants.DigiKeyUrlConstants; ^ FirstTokenProgram.java:33: error: package main.java.com.client.api.models does not exist import main.java.com.client.api.models.ApiClientSettings; ^ FirstTokenProgram.java:34: error: package main.java.com.client.api.oauth does not exist import main.java.com.client.api.oauth.AuthorizationException; ^ FirstTokenProgram.java:35: error: package main.java.com.client.api.oauth does not exist import main.java.com.client.api.oauth.OAuth2Service; ^ FirstTokenProgram.java:45: error: cannot find symbol ApiClientSettings settings = new ApiClientSettings(); ^ symbol: class ApiClientSettings location: class FirstTokenProgram FirstTokenProgram.java:45: error: cannot find symbol ApiClientSettings settings = new ApiClientSettings(); ^ symbol: class ApiClientSettings location: class FirstTokenProgram FirstTokenProgram.java:48: error: package DigiKeyUrlConstants does not exist String urlString = DigiKeyUrlConstants.AuthorizationEndpoint.toString(); ^ FirstTokenProgram.java:127: error: cannot find symbol OAuth2Service oauth = new OAuth2Service(settings); ^ symbol: class OAuth2Service location: class FirstTokenProgram FirstTokenProgram.java:127: error: cannot find symbol OAuth2Service oauth = new OAuth2Service(settings); ^ symbol: class OAuth2Service location: class FirstTokenProgram FirstTokenProgram.java:130: error: cannot find symbol } catch (AuthorizationException e) { ^ symbol: class AuthorizationException location: class FirstTokenProgram 10 errors (base) Michaels-MacBook-Pro-5:examples mikeck$

Also, how would Refresh and read even work without having a RedirectUri known smh isn't it supposed to be listening locally?

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

No branches or pull requests

1 participant