use of com.microsoft.identity.common.internal.cache.ICacheRecord in project microsoft-authentication-library-common-for-android by AzureAD.
the class TokenShareUtility method getMsaFamilyRefreshTokenWithMetadata.
@Override
public ITokenShareResultInternal getMsaFamilyRefreshTokenWithMetadata(@NonNull final String identifier) throws Exception {
final ICacheRecord cacheRecord = getCacheRecordForIdentifier(identifier);
throwIfCacheRecordIncomplete(identifier, cacheRecord);
final ITokenShareResultInternal result = new TokenShareResultInternal(cacheRecord, cacheRecord.getRefreshToken().getSecret(), RAW);
return result;
}
Aggregations