@Namespace(value="arrow::flight") @Properties(inherit=arrow_flight.class) public class ServerAuthHandler extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ServerAuthHandler(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Authenticate(ServerAuthSender outgoing,
ServerAuthReader incoming)
\brief Authenticate the client on initial connection.
|
Status |
IsValid(BytePointer token,
BytePointer peer_identity) |
Status |
IsValid(String token,
BytePointer peer_identity)
\brief Validate a per-call client token.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public ServerAuthHandler(Pointer p)
Pointer(Pointer)
.@ByVal public Status Authenticate(ServerAuthSender outgoing, ServerAuthReader incoming)
@ByVal public Status IsValid(@StdString String token, @StdString @Cast(value={"char*","std::string*"}) BytePointer peer_identity)
token
- [in] The client token. May be the empty string if
the client does not provide a token.peer_identity
- [out] The identity of the peer, if this
authentication method supports it.@ByVal public Status IsValid(@StdString BytePointer token, @StdString @Cast(value={"char*","std::string*"}) BytePointer peer_identity)
Copyright © 2022. All rights reserved.