public interface ProviderLoginSupport
Modifier and Type | Method and Description |
---|---|
Authentication |
complete(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request)
Completes the OAuth authentication, returning the resulting
Authentication object, or null if it
couldn't be completed. |
Authentication |
complete(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request,
Set<String> newUserRoles,
Map<String,Object> newUserAttributes)
Completes the OAuth authentication, returning the resulting
Authentication object, or null if it
couldn't be completed. |
Authentication |
complete(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request,
Set<String> newUserRoles,
Map<String,Object> newUserAttributes,
org.springframework.social.connect.web.ConnectSupport connectSupport)
Completes the OAuth authentication, returning the resulting
Authentication object, or null if it
couldn't be completed. |
String |
start(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request)
Starts the OAuth login process.
|
String |
start(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request,
org.springframework.util.MultiValueMap<String,String> additionalUrlParams)
Starts the OAuth login process.
|
String |
start(String tenant,
String providerId,
javax.servlet.http.HttpServletRequest request,
org.springframework.util.MultiValueMap<String,String> additionalUrlParams,
org.springframework.social.connect.web.ConnectSupport connectSupport)
Starts the OAuth login process.
|
String start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request) throws AuthenticationException
tenant
- the current tenant the authenticated user belongs tooproviderId
- the social service provider ID: facebook, twitter, linkedinrequest
- the current requestAuthenticationException
String start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String,String> additionalUrlParams) throws AuthenticationException
tenant
- the current tenant the authenticated user belongs tooproviderId
- the social service provider ID: facebook, twitter, linkedinrequest
- the current requestadditionalUrlParams
- additional parameters that should be added to the redirect URLAuthenticationException
String start(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, org.springframework.util.MultiValueMap<String,String> additionalUrlParams, org.springframework.social.connect.web.ConnectSupport connectSupport) throws AuthenticationException
tenant
- the current tenant the authenticated user belongs tooproviderId
- the social service provider ID: facebook, twitter, linkedinrequest
- the current requestadditionalUrlParams
- additional parameters that should be added to the redirect URLconnectSupport
- helper class instance for establishing the connections with the providersAuthenticationException
Authentication complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request) throws AuthenticationException
Authentication
object, or null if it
couldn't be completed.tenant
- the current tenant the authenticated user belongs tooproviderId
- the social service provider ID: facebook, twitter, linkedinrequest
- the current requestAuthenticationException
Authentication complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String,Object> newUserAttributes) throws AuthenticationException
Authentication
object, or null if it
couldn't be completed.tenant
- the current tenant the authenticated user belongs tooproviderId
- the social service provider ID: facebook, twitter, linkedinrequest
- the current requestnewUserRoles
- roles to add to a new usernewUserAttributes
- attributes to add to a new userAuthenticationException
Authentication complete(String tenant, String providerId, javax.servlet.http.HttpServletRequest request, Set<String> newUserRoles, Map<String,Object> newUserAttributes, org.springframework.social.connect.web.ConnectSupport connectSupport) throws AuthenticationException
Authentication
object, or null if it
couldn't be completed.tenant
- the current tenant the authenticated user belongs tooproviderId
- the social service provider ID: facebook, twitter, linkedinrequest
- the current requestnewUserRoles
- roles to add to a new usernewUserAttributes
- attributes to add to a new userconnectSupport
- helper class instance for establishing the connections with the providersAuthenticationException
Copyright © 2023 CrafterCMS. All rights reserved.