UserProfileDelegate
public protocol UserProfileDelegate
A protocol for UserProfile manipulation.
The current default implementation only tries to fill in the standard UserProfile fields. In case this default behaviour is insufficient,
additional data can be stored in UserProfile.extendedProperties and filled in using this delegate. An implementation
should be passed in the options argument with the key userProfileDelegate to the corresponding plugin’s constructor.
-
Updates the
UserProfileinstance from the data received from an identity provider.Declaration
Swift
func update(userProfile: UserProfile, from dictionary: [String : Any])Return Value
The
UserProfilecontaining the data to update.
View on GitHub
UserProfileDelegate Protocol Reference