org.springframework.social.oauth2.GrantType Java Examples
The following examples show how to use
org.springframework.social.oauth2.GrantType.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AlipayOAuth2Template.java From cola with MIT License | 4 votes |
@Override public String buildAuthorizeUrl(GrantType grantType, OAuth2Parameters parameters) { String url = super.buildAuthorizeUrl(grantType, parameters); url = url.replace("client_id=", "app_id="); return url; }
Example #2
Source File: WechatOAuth2Template.java From spring-social-wechat with Apache License 2.0 | 4 votes |
@Override public String buildAuthorizeUrl(GrantType grantType, OAuth2Parameters parameters) { return replaceParamKey(super.buildAuthorizeUrl(grantType, parameters)); }
Example #3
Source File: YahooOAuth2Template.java From cloudstreetmarket.com with GNU General Public License v3.0 | 4 votes |
@Override public String buildAuthenticateUrl(GrantType grantType, OAuth2Parameters parameters) { if (redirectUri != null) parameters.setRedirectUri(redirectUri); return super.buildAuthenticateUrl(grantType, parameters); }
Example #4
Source File: YahooOAuth2Template.java From cloudstreetmarket.com with GNU General Public License v3.0 | 4 votes |
@Override public String buildAuthorizeUrl(GrantType grantType, OAuth2Parameters parameters) { if (redirectUri != null) parameters.setRedirectUri(redirectUri); return super.buildAuthorizeUrl(grantType, parameters); }