Skip to content

Commit befc728

Browse files
committed
Move client auth APIs to a separate module
This makes it possible to write new client auth implementations without bringing in the entire client runtime as a dependency.
1 parent 31284f9 commit befc728

17 files changed

Lines changed: 17 additions & 1 deletion
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
plugins {
2+
id("smithy-java.module-conventions")
3+
}
4+
5+
description = "This module provides the client auth APIs"
6+
7+
extra["displayName"] = "Smithy :: Java :: Client :: Auth API"
8+
extra["moduleName"] = "software.amazon.smithy.java.client.core.auth"
9+
10+
dependencies {
11+
api(project(":auth-api"))
12+
api(project(":core"))
13+
implementation(libs.smithy.model)
14+
}

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/AuthException.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/AuthException.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityNotFoundException.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityNotFoundException.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResolver.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResolver.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResolverChain.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResolverChain.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResolvers.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResolvers.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResult.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/identity/IdentityResult.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/identity/StaticIdentityResolver.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/identity/StaticIdentityResolver.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/scheme/AuthScheme.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/scheme/AuthScheme.java

File renamed without changes.

client/client-core/src/main/java/software/amazon/smithy/java/client/core/auth/scheme/AuthSchemeFactory.java renamed to client/client-auth-api/src/main/java/software/amazon/smithy/java/client/core/auth/scheme/AuthSchemeFactory.java

File renamed without changes.

0 commit comments

Comments
 (0)