Skip to content

Commit f501865

Browse files
committed
update README.md #36
This commit will be merged after release
1 parent 0ea65aa commit f501865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ case class User(id: Long, name: String, hashedPassword: String)
5757

5858
class MyDataHandler extends DataHandler[User] {
5959

60-
def validateClient(clientId: String, clientSecret: String, grantType: String): Future[Boolean] = ???
60+
def validateClient(clientCredential: ClientCredential, grantType: String): Future[Boolean] = ???
6161

6262
def findUser(username: String, password: String): Future[Option[User]] = ???
6363

@@ -71,7 +71,7 @@ class MyDataHandler extends DataHandler[User] {
7171

7272
def findAuthInfoByRefreshToken(refreshToken: String): Future[Option[AuthInfo[User]]] = ???
7373

74-
def findClientUser(clientId: String, clientSecret: String, scope: Option[String]): Future[Option[User]] = ???
74+
def findClientUser(clientCredential: ClientCredential, scope: Option[String]): Future[Option[User]] = ???
7575

7676
def findAccessToken(token: String): Future[Option[AccessToken]] = ???
7777

0 commit comments

Comments
 (0)