Class GoogleSignInServiceImpl

java.lang.Object
org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService
edu.ucsb.cs156.frontiers.services.GoogleSignInServiceImpl
All Implemented Interfaces:
GoogleSignInService, org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest,org.springframework.security.oauth2.core.oidc.user.OidcUser>

@Service public class GoogleSignInServiceImpl extends org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService implements GoogleSignInService
  • Constructor Summary

    Constructors
    Constructor
    Description
    GoogleSignInServiceImpl(UserRepository userRepository, AdminRepository adminRepository, InstructorRepository instructorRepository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.oauth2.core.oidc.user.OidcUser
    loadUser(org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest userRequest)
     

    Methods inherited from class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService

    createDefaultClaimTypeConverters, setAccessibleScopes, setClaimTypeConverterFactory, setOauth2UserService, setOidcUserMapper, setRetrieveUserInfo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • loadUser

      public org.springframework.security.oauth2.core.oidc.user.OidcUser loadUser(org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest userRequest) throws org.springframework.security.oauth2.core.OAuth2AuthenticationException
      Specified by:
      loadUser in interface GoogleSignInService
      Specified by:
      loadUser in interface org.springframework.security.oauth2.client.userinfo.OAuth2UserService<org.springframework.security.oauth2.client.oidc.userinfo.OidcUserRequest,org.springframework.security.oauth2.core.oidc.user.OidcUser>
      Overrides:
      loadUser in class org.springframework.security.oauth2.client.oidc.userinfo.OidcUserService
      Throws:
      org.springframework.security.oauth2.core.OAuth2AuthenticationException