Support for Application-only token

fixed code-styling