Skip to content

Commit

Permalink
Merge pull request #1 from liamdon/master
Browse files Browse the repository at this point in the history
Make email optional to support anonymous auth
  • Loading branch information
barisatamer authored Nov 9, 2019
2 parents 79e70d1 + c343454 commit a376f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FirebaseJWTMiddleware/FirebaseJWTPayload.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ public struct FirebaseJWTPayload: JWTPayload {
var issuer: IssuerClaim
var issuedAt: IssuedAtClaim
var expirationAt: ExpirationClaim
public var email: String
public var userID: String

public var email: String?
public var picture: String?
public var name: String?
public var authTime: Date?
Expand Down

0 comments on commit a376f70

Please sign in to comment.