vertx / io.vertx.ext.auth / AbstractUser

# AbstractUser

`abstract class AbstractUser : User, ClusterSerializable`

Useful base class for implementing a User object.

This class handles the caching logic so you can concentrate on the actual authorisation logic.

Just implement the abstract methods in your concrete sub-class.

Author
Tim Fox

### Constructors

<init> | `AbstractUser()` Useful base class for implementing a User object. This class handles the caching logic so you can concentrate on the actual authorisation logic. Just implement the abstract methods in your concrete sub-class.

### Functions

clearCache | `open fun clearCache(): User`
isAuthorized | `open fun isAuthorized(authority: String, resultHandler: Handler<AsyncResult<Boolean>>): User`
readFromBuffer | `open fun readFromBuffer(pos: Int, buffer: Buffer): Int`
writeToBuffer | `open fun writeToBuffer(buff: Buffer): Unit`