You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Saturn.Extensions.Authorization/OAuth.fs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ let private addCookie state (c : AuthenticationBuilder) = if not state.CookiesAl
17
17
18
18
typeSaturn.Application.ApplicationBuilderwith
19
19
/// Enables default Google OAuth authentication.
20
-
/// `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.
20
+
/// `jsonToClaimMap` should contain a sequence of tuples where the first element is the name of the key in the JSON object and the second element is the name of the claim.
21
21
/// For example: `["id", ClaimTypes.NameIdentifier; "displayName", ClaimTypes.Name]` where `id` and `displayName` are names of fields in the Google JSON response (https://developers.google.com/+/web/api/rest/latest/people#resource).
@@ -71,7 +71,7 @@ type Saturn.Application.ApplicationBuilder with
71
71
}
72
72
73
73
/// Enables default GitHub OAuth authentication.
74
-
/// `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.
74
+
/// `jsonToClaimMap` should contain a sequence of tuples where the first element is the name of the key in the JSON object and the second element is the name of the claim.
75
75
/// For example: `["login", "githubUsername"; "name", "fullName"]` where `login` and `name` are names of fields in GitHub JSON response (https://developer.github.com/v3/users/#get-the-authenticated-user).
@@ -128,7 +128,7 @@ type Saturn.Application.ApplicationBuilder with
128
128
129
129
/// Enalbes default Azure AD OAuth authentication.
130
130
/// `scopes` must be at least on of the scopes defined in https://docs.microsoft.com/en-us/graph/permissions-reference, for instance "User.Read".
131
-
/// `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.
131
+
/// `jsonToClaimMap` should contain a sequence of tuples where the first element is the name of the key in the JSON object and the second element is the name of the claim.
132
132
/// 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).
Copy file name to clipboardExpand all lines: src/Saturn/Authentication.fs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ module OAuth =
32
32
///OAuth User Information endpoint
33
33
///For example: https://api.github.com/user
34
34
UserInformationEndpoint:string
35
-
///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.
35
+
///Sequence of tuples where the first element is the name of the key in the JSON object and the second element is the name of the claim.
36
36
///For example: `["login", "githubUsername"; "name", "fullName"]` where `login` and `name` are names of fields in GitHub JSON response (https://developer.github.com/v3/users/#get-the-authenticated-user).
0 commit comments