public static class AuthenticationPrincipal.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuthenticationPrincipal |
build() |
AuthenticationPrincipal.Builder |
copy(AuthenticationPrincipal model) |
AuthenticationPrincipal.Builder |
tenant(Tenant tenant)
The tenancy object.
|
AuthenticationPrincipal.Builder |
user(User user)
The user object.
|
public AuthenticationPrincipal.Builder tenant(Tenant tenant)
The tenancy object.
tenant
- the value to setpublic AuthenticationPrincipal.Builder user(User user)
The user object.
user
- the value to setpublic AuthenticationPrincipal build()
public AuthenticationPrincipal.Builder copy(AuthenticationPrincipal model)
Copyright © 2016–2024. All rights reserved.