Skip to content

Commit a1d0963

Browse files
committed
downscale gradle
revert on 2.0.9 build keep gradle and plugins from old version
1 parent 02e4fd4 commit a1d0963

File tree

6 files changed

+148
-77
lines changed

6 files changed

+148
-77
lines changed

Data/src/main/java/com/sdk/data/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ object Constants {
77

88
val AccessToken = "ACCESS_TOKEN"
99

10-
val RefreshToken = "REFRESH_TOKEN"
10+
val RefreshToken = "refresh_token"
1111

1212
val TokenExpiresAt = "TokenExpiresAt"
1313

Domain/src/main/java/com/sdk/domain/entity/account/GrantType.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ package com.sdk.domain.entity.account
44
enum class GrantType {
55
PASSWORD,
66
CLIENT_CREDENTIALS,
7-
REFRESH_TOKEN
7+
refresh_token
88
}

Domain/src/main/java/com/sdk/domain/usecase/authentication/AuthenticateUserUseCase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AuthenticateUserUseCase constructor(schedulers: InPlayerSchedulers,
2525
}
2626
throw IllegalStateException("Username can't be null for GrantType Password!")
2727

28-
} else if (params.grantType == GrantType.REFRESH_TOKEN) {
28+
} else if (params.grantType == GrantType.refresh_token) {
2929

3030
params.refreshToken?.let {
3131
return inPlayerAuthenticatorRepository.refreshToken(params.refreshToken, params.grantType.toString(), params.clientId)

0 commit comments

Comments
 (0)