ServerLocalCredentials class
Set of credentials that only allows local TCP connections.
- Inheritance
-
- Object
- ServerCredentials
- ServerLocalCredentials
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityContext → SecurityContext?
-
Creates SecurityContext from these credentials if possible.
Otherwise returns
null
.no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validateClient(
Socket socket) → bool -
Validates incoming connection. Returns
true
if connection is allowed to proceed.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited