Skip to content

Commit a9db8e1

Browse files
authored
Revert "Disabled N2W apis temporarily (#809)" (#812)
1 parent 39011db commit a9db8e1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

auth0/src/main/java/com/auth0/android/authentication/AuthenticationAPIClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ public class AuthenticationAPIClient @VisibleForTesting(otherwise = VisibleForTe
928928
* @param refreshToken A valid refresh token obtained as part of Auth0 authentication
929929
* @return a request to fetch a session token
930930
*/
931-
internal fun fetchSessionToken(refreshToken: String): Request<SSOCredentials, AuthenticationException> {
931+
public fun fetchSessionToken(refreshToken: String): Request<SSOCredentials, AuthenticationException> {
932932
val params = ParameterBuilder.newBuilder()
933933
.setClientId(clientId)
934934
.setGrantType(ParameterBuilder.GRANT_TYPE_TOKEN_EXCHANGE)

auth0/src/main/java/com/auth0/android/authentication/storage/BaseCredentialsManager.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public abstract class BaseCredentialsManager internal constructor(
3030

3131
@Throws(CredentialsManagerException::class)
3232
public abstract fun saveCredentials(credentials: Credentials)
33-
internal abstract fun saveSsoCredentials(ssoCredentials: SSOCredentials)
33+
public abstract fun saveSsoCredentials(ssoCredentials: SSOCredentials)
3434
public abstract fun getCredentials(callback: Callback<Credentials, CredentialsManagerException>)
35-
internal abstract fun getSsoCredentials(callback: Callback<SSOCredentials, CredentialsManagerException>)
35+
public abstract fun getSsoCredentials(callback: Callback<SSOCredentials, CredentialsManagerException>)
3636
public abstract fun getCredentials(
3737
scope: String?,
3838
minTtl: Int,
@@ -65,7 +65,7 @@ public abstract class BaseCredentialsManager internal constructor(
6565

6666
@JvmSynthetic
6767
@Throws(CredentialsManagerException::class)
68-
internal abstract suspend fun awaitSsoCredentials(): SSOCredentials
68+
public abstract suspend fun awaitSsoCredentials(): SSOCredentials
6969

7070
@JvmSynthetic
7171
@Throws(CredentialsManagerException::class)

0 commit comments

Comments
 (0)