MCPcopy Create free account
hub / github.com/Asana/java-asana / getAuthorizationUrl

Method getAuthorizationUrl

src/main/java/com/asana/OAuthApp.java:68–75  ·  view source on GitHub ↗
(String state)

Source from the content-addressed store, hash-verified

66 }
67
68 public String getAuthorizationUrl(String state) {
69 AuthorizationCodeRequestUrl url = this.flow.newAuthorizationUrl();
70 if (state != null) {
71 url.setState(state);
72 }
73 url.setRedirectUri(this.redirectUri);
74 return url.build();
75 }
76
77 public String fetchToken(String code, String userId) throws IOException {
78 TokenResponse tokenResponse = this.flow.newTokenRequest(code)

Callers 2

mainMethod · 0.95
handleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected