LoginButtonDelegate
public protocol LoginButtonDelegate : AnyObject
LoginButtonクラスを使用する際に、ログインアクションの状態を制御するためのDelegate。
-
ログインボタンが押された直後に呼ばれる。
Declaration
Swift
func loginButtonDidStartLogin(_ button: LoginButton)Parameters
buttonログインアクションの開始時に押下されたボタン。
-
ログインアクションが成功したときに呼ばれる。
Declaration
Swift
func loginButton(_ button: LoginButton, didSucceedLogin loginResult: LoginResult)Parameters
buttonログインアクションの開始時に押下されたボタン。
loginResult成功したログインアクションのログイン結果。
-
ログインアクションが失敗したときに呼ばれる。
Declaration
Swift
func loginButton(_ button: LoginButton, didFailLogin error: LoginError)Parameters
buttonログインアクションの開始時に押下されたボタン。
error失敗したログインアクションのエラー。
LoginButtonDelegate Protocol Reference