Last active
September 16, 2020 03:08
-
-
Save mlescaille/72d3ec1fc5eaca85b99037d88d0da0d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package com.tutorial.googleeoauth.repository | |
import com.tutorial.googleeoauth.domain.GoogleCredentialDetails | |
import org.springframework.data.domain.Page | |
import org.springframework.data.domain.Pageable | |
import org.springframework.data.jpa.repository.JpaRepository | |
/** | |
* Repository for {@link GoogleCredentialDetails}. Represents credentials of Google's | |
* OAuth authentication and authorization process. | |
*/ | |
public interface GoogleCredentialDetailsRepository extends JpaRepository<GoogleCredentialDetails, Long> { | |
Page<GoogleCredentialDetails> findAll(Pageable pageable) | |
List<GoogleCredentialDetails> findAllOauthClientId() | |
GoogleCredentialDetails findByOauthClientId(String clientId) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment