Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 33 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ orbs:

jobs:
unit-test:
executor:
executor: &android_executor
name: android/android_docker
tag: 2025.04.1
environment:
tag: 2025.09.1
resource_class: xlarge
environment: &gradle_opts_environment
GRADLE_OPTS: '
-Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError"
-Dorg.gradle.jvmargs="-Xmx6g -XX:+HeapDumpOnOutOfMemoryError"
-Dorg.gradle.daemon=false
-Dorg.gradle.workers.max=3
-Dkotlin.incremental=false'
Expand All @@ -32,10 +33,30 @@ jobs:
path: ~/test-results
- store_artifacts:
path: ~/test-results/junit
snyk-scan:
executor:
unit-test-android-host:
executor: &android_executor
name: android/android_docker
tag: 2025.04.1
tag: 2025.09.1
resource_class: xlarge
environment: &gradle_opts_environment
steps:
- checkout
- android/restore_gradle_cache
- android/run_tests:
test_command: ./gradlew :okta-direct-auth:testAndroidHostTest --no-daemon
- android/save_gradle_cache
- run:
name: Save test results
command: |
mkdir -p ~/test-results/junit/
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} ~/test-results/junit/ \;
when: always
- store_test_results:
path: ~/test-results
- store_artifacts:
path: ~/test-results/junit
snyk-scan:
executor: *android_executor
steps:
- attach_workspace:
at: ~/project
Expand All @@ -48,9 +69,8 @@ jobs:
additional-arguments: "--configuration-matching=implementation"

build:
executor:
name: android/android_docker
tag: 2025.04.1
executor: *android_executor
environment: *gradle_opts_environment
steps:
- checkout
- android/restore_gradle_cache
Expand All @@ -71,9 +91,7 @@ jobs:
destination: apks

spotless-check:
executor:
name: android/android_docker
tag: 2025.04.1
executor: *android_executor
steps:
- checkout
- android/restore_gradle_cache
Expand All @@ -83,9 +101,7 @@ jobs:
- android/save_gradle_cache

api-check:
executor:
name: android/android_docker
tag: 2025.04.1
executor: *android_executor
steps:
- checkout
- android/restore_gradle_cache
Expand All @@ -98,6 +114,7 @@ workflows:
test-and-build:
jobs:
- unit-test
- unit-test-android-host
- build
- spotless-check
- api-check
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ build/
.cxx
local.properties
e2eCredentials.yaml
/htmlReport
172 changes: 172 additions & 0 deletions auth-foundation/api/auth-foundation.api
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,106 @@ public final class com/okta/authfoundation/BiometricExceptionDetails$OnAuthentic
public fun toString ()Ljava/lang/String;
}

public abstract class com/okta/authfoundation/GrantType {
public synthetic fun <init> (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getValue ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$AuthorizationCode : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$AuthorizationCode;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$DeviceCode : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$DeviceCode;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$JwtBearer : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$JwtBearer;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$Oob : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$Oob;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$OobMfa : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$OobMfa;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$Other : com/okta/authfoundation/GrantType {
public fun <init> (Ljava/lang/String;)V
public final fun component1 ()Ljava/lang/String;
public final fun copy (Ljava/lang/String;)Lcom/okta/authfoundation/GrantType$Other;
public static synthetic fun copy$default (Lcom/okta/authfoundation/GrantType$Other;Ljava/lang/String;ILjava/lang/Object;)Lcom/okta/authfoundation/GrantType$Other;
public fun equals (Ljava/lang/Object;)Z
public final fun getType ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$Otp : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$Otp;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$OtpMfa : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$OtpMfa;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$Password : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$Password;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$RefreshToken : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$RefreshToken;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$TokenExchange : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$TokenExchange;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$WebAuthn : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$WebAuthn;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class com/okta/authfoundation/GrantType$WebAuthnMfa : com/okta/authfoundation/GrantType {
public static final field INSTANCE Lcom/okta/authfoundation/GrantType$WebAuthnMfa;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public abstract interface annotation class com/okta/authfoundation/InternalAuthFoundationApi : java/lang/annotation/Annotation {
}

Expand Down Expand Up @@ -105,6 +205,78 @@ public final class com/okta/authfoundation/SdkDefaults {
public final fun setGetTokenStorageFactory (Lkotlin/jvm/functions/Function0;)V
}

public abstract interface class com/okta/authfoundation/api/http/ApiExecutor {
public abstract fun execute-gIAlu-s (Lcom/okta/authfoundation/api/http/ApiRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}

public abstract interface class com/okta/authfoundation/api/http/ApiFormRequest : com/okta/authfoundation/api/http/ApiRequest {
public abstract fun contentType ()Ljava/lang/String;
public abstract fun formParameters ()Ljava/util/Map;
}

public final class com/okta/authfoundation/api/http/ApiFormRequest$DefaultImpls {
public static fun query (Lcom/okta/authfoundation/api/http/ApiFormRequest;)Ljava/util/Map;
}

public abstract interface class com/okta/authfoundation/api/http/ApiRequest {
public abstract fun headers ()Ljava/util/Map;
public abstract fun method ()Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public fun query ()Ljava/util/Map;
public abstract fun url ()Ljava/lang/String;
}

public final class com/okta/authfoundation/api/http/ApiRequest$DefaultImpls {
public static fun query (Lcom/okta/authfoundation/api/http/ApiRequest;)Ljava/util/Map;
}

public abstract interface class com/okta/authfoundation/api/http/ApiRequestBody : com/okta/authfoundation/api/http/ApiRequest {
public abstract fun body ()[B
public abstract fun contentType ()Ljava/lang/String;
}

public final class com/okta/authfoundation/api/http/ApiRequestBody$DefaultImpls {
public static fun query (Lcom/okta/authfoundation/api/http/ApiRequestBody;)Ljava/util/Map;
}

public final class com/okta/authfoundation/api/http/ApiRequestMethod : java/lang/Enum {
public static final field DELETE Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static final field GET Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static final field HEAD Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static final field PATCH Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static final field POST Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static final field PUT Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcom/okta/authfoundation/api/http/ApiRequestMethod;
public static fun values ()[Lcom/okta/authfoundation/api/http/ApiRequestMethod;
}

public abstract interface class com/okta/authfoundation/api/http/ApiResponse {
public abstract fun getBody ()[B
public abstract fun getContentLength ()J
public abstract fun getContentType ()Ljava/lang/String;
public abstract fun getHeaders ()Ljava/util/Map;
public abstract fun getStatusCode ()I
}

public abstract interface class com/okta/authfoundation/api/http/log/AuthFoundationLogger {
public abstract fun write (Ljava/lang/String;Ljava/lang/Throwable;Lcom/okta/authfoundation/api/http/log/LogLevel;)V
public static synthetic fun write$default (Lcom/okta/authfoundation/api/http/log/AuthFoundationLogger;Ljava/lang/String;Ljava/lang/Throwable;Lcom/okta/authfoundation/api/http/log/LogLevel;ILjava/lang/Object;)V
}

public final class com/okta/authfoundation/api/http/log/AuthFoundationLogger$DefaultImpls {
public static synthetic fun write$default (Lcom/okta/authfoundation/api/http/log/AuthFoundationLogger;Ljava/lang/String;Ljava/lang/Throwable;Lcom/okta/authfoundation/api/http/log/LogLevel;ILjava/lang/Object;)V
}

public final class com/okta/authfoundation/api/http/log/LogLevel : java/lang/Enum {
public static final field DEBUG Lcom/okta/authfoundation/api/http/log/LogLevel;
public static final field ERROR Lcom/okta/authfoundation/api/http/log/LogLevel;
public static final field INFO Lcom/okta/authfoundation/api/http/log/LogLevel;
public static final field WARN Lcom/okta/authfoundation/api/http/log/LogLevel;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Lcom/okta/authfoundation/api/http/log/LogLevel;
public static fun values ()[Lcom/okta/authfoundation/api/http/log/LogLevel;
}

public abstract interface class com/okta/authfoundation/claims/ClaimsProvider {
public abstract fun availableClaims ()Ljava/util/Set;
public abstract fun deserializeClaim (Ljava/lang/String;Lkotlinx/serialization/DeserializationStrategy;)Ljava/lang/Object;
Expand Down
Loading
Loading