Skip to content

Commit 248df4d

Browse files
Vladimir RusanovKrzysztof-Cieslak
authored andcommitted
Fixed naming collision in Auth extensions, #221
1 parent bde50da commit 248df4d

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
@@ -17,7 +17,7 @@ open Newtonsoft.Json.Linq
1717

1818
let private addCookie state (c : AuthenticationBuilder) = if not state.CookiesAlreadyAdded then c.AddCookie() |> ignore
1919

20-
type ApplicationBuilder with
20+
type Saturn.Application.ApplicationBuilder with
2121
///Enables default Google OAuth authentication.
2222
///`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.
2323
///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).

0 commit comments

Comments
 (0)