UnnamedStruct28 class final

This structure contains callback to be called by the framework to authenticate the incoming message.

Inheritance
Implemented types
Available extensions

Constructors

UnnamedStruct28()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
get_auth Pointer<NativeFunction<pj_status_t Function(Pointer<Void> user_data, Pointer<pj_pool_t> pool, Pointer<pj_str_t> realm, Pointer<pj_str_t> nonce)>>
This callback is called by pj_stun_verify_credential() when server needs to challenge the request with 401 response.
getter/setter pair
get_cred Pointer<NativeFunction<pj_status_t Function(Pointer<pj_stun_msg> msg, Pointer<Void> user_data, Pointer<pj_pool_t> pool, Pointer<pj_str_t> realm, Pointer<pj_str_t> username, Pointer<pj_str_t> nonce, Pointer<Int32> data_type, Pointer<pj_str_t> data)>>
Get the credential to be put in outgoing request.
getter/setter pair
get_password Pointer<NativeFunction<pj_status_t Function(Pointer<pj_stun_msg> msg, Pointer<Void> user_data, Pointer<pj_str_t> realm, Pointer<pj_str_t> username, Pointer<pj_pool_t> pool, Pointer<Int32> data_type, Pointer<pj_str_t> data)>>
Get the password for the specified username. This function is also used to check whether the username is valid.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user_data Pointer<Void>
User data which will be passed back to callback functions.
getter/setter pair
verify_nonce Pointer<NativeFunction<pj_bool_t Function(Pointer<pj_stun_msg> msg, Pointer<Void> user_data, Pointer<pj_str_t> realm, Pointer<pj_str_t> username, Pointer<pj_str_t> nonce)>>
This callback will be called to verify that the NONCE given in the message can be accepted. If this callback returns PJ_FALSE, 438 (Stale Nonce) response will be created.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited