Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Marc Prieur <[email protected]>
Signed-off-by: JLoze <[email protected]>
  • Loading branch information
JoshLozensky and jmprieur authored Feb 12, 2025
1 parent cc1c5ae commit fccb0f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public AcquireTokenOptions(AcquireTokenOptions other)
public string? Claims { get; set; }

/// <summary>
/// Path to the Federation Managed Identity (FMI) file. This is used to acquire a token for a specific FMI.
/// Federated Managed Identity (FMI) sub-path.
/// </summary>
public string? FmiPath { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void FmiPathTest()
// <fmipath_json>
{
"AquireTokenOptions": {
"FmiPath": "/path/to/fmi/file"
"FmiPath": "/example.org/service/my-service"
}
}
// </fmipath_json>
Expand All @@ -87,12 +87,12 @@ public void FmiPathTest()
// <fmipath_csharp>
AcquireTokenOptions acquireTokenOptions = new AcquireTokenOptions
{
FmiPath = "/path/to/fmi/file"
FmiPath = "/example.org/service/my-service"
};
// </fmipath_csharp>

Assert.NotNull(acquireTokenOptions.FmiPath);
Assert.Equal("/path/to/fmi/file", acquireTokenOptions.FmiPath);
Assert.Equal("/example.org/service/my-service", acquireTokenOptions.FmiPath);
}
}
}

0 comments on commit fccb0f6

Please sign in to comment.