File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
internal/oauth/ops/authority Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff 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
856857func WithAttribute (attrValue string ) interface {
857858 AcquireByCredentialOption
858859 options.CallOption
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments