Skip to content

Commit ef7ff7f

Browse files
committed
examplebroker: Move to internal package
Now that authd can be imported we should not expose anything that isn't an API.
1 parent 07a7709 commit ef7ff7f

File tree

14 files changed

+8
-8
lines changed

14 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ in addition to information about authd architecture and troubleshooting.
4747
## Brokers
4848

4949
authd uses brokers to interface with cloud identity providers through a
50-
[DBus API](https://github.com/ubuntu/authd/blob/HEAD/examplebroker/com.ubuntu.auth.ExampleBroker.xml).
50+
[DBus API](https://github.com/ubuntu/authd/blob/HEAD/internal/examplebroker/com.ubuntu.auth.ExampleBroker.xml).
5151

5252
Currently [MS Entra ID](https://learn.microsoft.com/en-us/entra/fundamentals/whatis)
5353
and [Google IAM](https://cloud.google.com/iam/docs/overview)

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authd is a versatile authentication service for Ubuntu, designed to seamlessly i
44

55
authd features a modular structure, facilitating straightforward integration with different cloud services. This design aids in maintaining strong security and effective user authentication. It's well-suited for handling access to cloud identities, offering a balance of security and ease of use.
66

7-
authd uses brokers to interface with cloud identity providers through a [DBus API](https://github.com/ubuntu/authd/blob/HEAD/examplebroker/com.ubuntu.auth.ExampleBroker.xml). Currently, both [MS Entra ID](https://learn.microsoft.com/en-us/entra/fundamentals/whatis) and [Google IAM](https://cloud.google.com/iam/docs/overview) are supported. For development purposes, authd also provides an example broker to help you develop your own.
7+
authd uses brokers to interface with cloud identity providers through a [DBus API](https://github.com/ubuntu/authd/blob/HEAD/internal/examplebroker/com.ubuntu.auth.ExampleBroker.xml). Currently, both [MS Entra ID](https://learn.microsoft.com/en-us/entra/fundamentals/whatis) and [Google IAM](https://cloud.google.com/iam/docs/overview) are supported. For development purposes, authd also provides an example broker to help you develop your own.
88
These brokers allow you to authenticate against MS Entra ID or Google IAM using multi-factor authentication and the device authentication flow.
99

1010

internal/brokers/withexamples.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"context"
77
"os"
88

9-
"github.com/ubuntu/authd/examplebroker"
9+
"github.com/ubuntu/authd/internal/examplebroker"
1010
"github.com/ubuntu/authd/internal/testutils"
1111
"github.com/ubuntu/authd/log"
1212
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

pam/integration-tests/cli_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/msteinert/pam/v2"
1212
"github.com/stretchr/testify/require"
13-
"github.com/ubuntu/authd/examplebroker"
13+
"github.com/ubuntu/authd/internal/examplebroker"
1414
"github.com/ubuntu/authd/internal/proto/authd"
1515
"github.com/ubuntu/authd/internal/testutils"
1616
"github.com/ubuntu/authd/internal/testutils/golden"

0 commit comments

Comments
 (0)