Skip to content

Commit 3332494

Browse files
committed
Updated API method desc
1 parent c2ddd47 commit 3332494

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

apps/confidential/confidential.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,9 @@ func WithFMIPath(path string) interface {
851851
}
852852
}
853853

854-
// WithAttribute provies the attribute which is passed on as "xmc_attr" in the token request body.
855-
// This is used in conjunction with federated managed identities to specify the identity attribute
854+
// WithAttribute specifies an identity attribute to include in the token request.
855+
// The attribute is sent as "attributes" in the request body and returned as "xmc_attr"
856+
// in the access token claims. This is sometimes used withFMIPath
856857
func WithAttribute(attrValue string) interface {
857858
AcquireByCredentialOption
858859
options.CallOption

apps/internal/oauth/ops/authority/authority.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,8 +676,6 @@ func (a *AuthParams) CacheExtKeyGenerator() string {
676676
for k := range a.CacheKeyComponents {
677677
keys = append(keys, k)
678678
}
679-
680-
// Sort the keys
681679
sort.Strings(keys)
682680

683681
// Create a string by concatenating key+value pairs

0 commit comments

Comments
 (0)