StitchAuthDelegate
public protocol StitchAuthDelegate : AnyObject
A protocol to be inherited by classes that need to take action whenever a particular StitchAppClient performs an
authentication event. An instance of a StitchAuthDelegate must be registered with a StitchAuth for this to work
correctly.
-
A method to be called whenever a
StitchAppClientperforms an authentication event. Note, when this method is invoked by aStitchAuthfor which this delegate is registered, the invocation will be dispatched to a non-main dispatch queue, so be sure to dispatch any UI operations back to the mainDispatchQueue.Declaration
Swift
func onAuthEvent(fromAuth: StitchAuth)Parameters
fromAuthThe
StitchAuthobject that caused the authentication event.
StitchAuthDelegate Protocol Reference