public class Single
extends io.apimatic.coreinterfaces.authentication.Authentication
| Constructor and Description |
|---|
Single(io.apimatic.coreinterfaces.authentication.Authentication authentication) |
| Modifier and Type | Method and Description |
|---|---|
io.apimatic.coreinterfaces.http.request.Request |
apply(io.apimatic.coreinterfaces.http.request.Request httpRequest)
Applies the authentication on the httpRequest.
|
void |
validate()
Validates the single/leaf authentication.
|
public Single(io.apimatic.coreinterfaces.authentication.Authentication authentication)
authentication - The authentication instance.public io.apimatic.coreinterfaces.http.request.Request apply(io.apimatic.coreinterfaces.http.request.Request httpRequest)
apply in class io.apimatic.coreinterfaces.authentication.AuthenticationhttpRequest - the request on which authentication is being applied.Request The authenticated request.public void validate()
validate in class io.apimatic.coreinterfaces.authentication.AuthenticationCopyright © 2025. All rights reserved.