Skip to content

Commit 4f8910c

Browse files
ChrSteinertKrzysztof-Cieslak
authored andcommitted
Corrects help text.
1 parent 2fb249f commit 4f8910c

File tree

1 file changed

+1
-1
lines changed
  • src/Saturn.Extensions.Authorization

1 file changed

+1
-1
lines changed

src/Saturn.Extensions.Authorization/OAuth.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ type Saturn.Application.ApplicationBuilder with
131131
///Enalbes Azure Active Directory authentication.
132132
///`scopes` must be at least on of the scopes defined in https://docs.microsoft.com/en-us/graph/permissions-reference, for instance "User.Read".
133133
///`jsonToClaimMap` should contain sequance of tuples where first element is a name of the of the key in JSON object and second element is a name of the claim.
134-
///For example: `["name", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"; "name", "fullName"]` where `login` and `name` are names of fields in GitHub JSON response (https://developer.github.com/v3/users/#get-the-authenticated-user).
134+
///For example: `["name", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" ]` where `name` is the names of a field in Azure AD's JSON response (see https://docs.microsoft.com/en-us/azure/active-directory/develop/id-tokens or inspect tokens with https://jwt.ms).
135135
[<CustomOperation("use_azuread_oauth")>]
136136
member __.UseAzureADAuth(state: ApplicationState, tenantId : string, clientId : string, clientSecret: string, callbackPath : string, scopes : string seq, jsonToClaimMap : (string * string) seq) =
137137
let middleware (app : IApplicationBuilder) =

0 commit comments

Comments
 (0)