Boost.GraphQL.SecurityMutations.DeleteStoredTokenAsync C# (CSharp) Method

DeleteStoredTokenAsync() public method

public DeleteStoredTokenAsync ( IAuthTokenStore tokenStore, string id, CancellationToken cancellationToken ) : Task
tokenStore IAuthTokenStore
id string
cancellationToken CancellationToken
return Task
        public async Task<string> DeleteStoredTokenAsync(
            [Service] IAuthTokenStore tokenStore,
            string id,
            CancellationToken cancellationToken)
        {
            await tokenStore.DeleteAsync(id, cancellationToken);

            return id;
        }
    }