Structures
The following structures are available globally.
-
A list of options for authentication with Google.
See moreDeclaration
Swift
public struct CredentialsGoogleOptions
-
A pre-constructed TypeSafeGoogleToken which contains the default fields that can be requested from Google.
Note that the Optional fields will only be initialized if the subject grants access to the data.
Usage Example:
See morerouter.get("/googleProfile") { (user: GoogleTokenProfile, respondWith: (GoogleTokenProfile?, RequestError?) -> Void) in respondWith(user, nil) }
Declaration
Swift
public struct GoogleTokenProfile : TypeSafeGoogleToken