Skip to content

Commit

Permalink
Remove unused confidential client UserID (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell authored Feb 23, 2023
1 parent 10e70c9 commit bddac96
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions apps/confidential/confidential.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,6 @@ type Client struct {
base base.Client

cred *accesstokens.Credential

// userID is some unique identifier for a user. It actually isn't used by us at all, it
// simply acts as another hint that a confidential.Client is for a single user.
userID string
}

// Options are optional settings for New(). These options are set using various functions
Expand Down Expand Up @@ -395,11 +391,6 @@ func New(clientID string, cred Credential, options ...Option) (Client, error) {
return Client{base: base, cred: internalCred}, nil
}

// UserID is the unique user identifier this client if for.
func (cca Client) UserID() string {
return cca.userID
}

// authCodeURLOptions contains options for AuthCodeURL
type authCodeURLOptions struct {
claims, loginHint, tenantID, domainHint string
Expand Down

0 comments on commit bddac96

Please sign in to comment.