Name
extension Notification.Name
-
Sent when the LINE SDK detects that the current token has been updated and stored in the keychain. This means that the user has authorized your app and your app has obtained an access token. The
objectproperty of the postedNotificationobject contains the new access token. TheuserInfodictionary of the postedNotificationobject contains the new access token under theLineSDKNotificationKey.newAccessTokenkey. If an access token has previously existed, it will be under theLineSDKNotificationKey.oldAccessTokenkey.Declaration
Swift
public static let LineSDKAccessTokenDidUpdate: Notification.Name -
Sent when the LINE SDK removes the current access token from the keychain. This normally happens when you log out the user or call the
revokeTokenmethod. An expired access token is not automatically removed since the access token is refreshed when it is used to make an API call. Theobjectproperty of the postedNotificationobject contains the removed access token.Declaration
Swift
public static let LineSDKAccessTokenDidRemove: Notification.Name
View on GitHub
Name Extension Reference