-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77a9ce0
commit 9365dbf
Showing
10 changed files
with
124 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/main/java/net/snowflake/client/core/SFOauthLoginInput.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package net.snowflake.client.core; | ||
|
||
@SnowflakeJdbcInternalApi | ||
public class SFOauthLoginInput { | ||
|
||
private final String clientId; | ||
private final String clientSecret; | ||
private final String redirectUri; | ||
private final String externalAuthorizationUrl; | ||
private final String externalTokenRequestUrl; | ||
private final String scope; | ||
|
||
public SFOauthLoginInput(String clientId, String clientSecret, String redirectUri, String externalAuthorizationUrl, String externalTokenRequestUrl, String scope) { | ||
this.redirectUri = redirectUri; | ||
this.clientId = clientId; | ||
this.clientSecret = clientSecret; | ||
this.externalAuthorizationUrl = externalAuthorizationUrl; | ||
this.externalTokenRequestUrl = externalTokenRequestUrl; | ||
this.scope = scope; | ||
} | ||
|
||
public String getRedirectUri() { | ||
return redirectUri; | ||
} | ||
|
||
public String getClientId() { | ||
return clientId; | ||
} | ||
|
||
public String getClientSecret() { | ||
return clientSecret; | ||
} | ||
|
||
public String getExternalAuthorizationUrl() { | ||
return externalAuthorizationUrl; | ||
} | ||
|
||
public String getExternalTokenRequestUrl() { | ||
return externalTokenRequestUrl; | ||
} | ||
|
||
public String getScope() { | ||
return scope; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.