示例#1
0
        /// <summary>
        /// Revokes the current access token.
        ///
        /// After the access token is revoked, you cannot use it again to access the LINE Platform.
        /// You need to have the user authorize your app again to issue a new access token before accessing the LINE Platform.
        /// </summary>
        /// <param name="action">
        /// The callback action to be invoked when this API finishes.
        /// </param>
        public static void RevokeAccessToken(Action <Result <Unit> > action)
        {
            var identifier = AddAction(FlattenAction.UnitFlatten(action));

            NativeInterface.RevokeAccessToken(identifier);
        }