pub struct TestInvokeAuthorizerRequest {
pub authorizer_name: String,
pub http_context: Option<HttpContext>,
pub mqtt_context: Option<MqttContext>,
pub tls_context: Option<TlsContext>,
pub token: Option<String>,
pub token_signature: Option<String>,
}Fields§
The custom authorizer name.
http_context: Option<HttpContext>Specifies a test HTTP authorization request.
mqtt_context: Option<MqttContext>Specifies a test MQTT authorization request.
tls_context: Option<TlsContext>Specifies a test TLS authorization request.
token: Option<String>The token returned by your custom authentication service.
token_signature: Option<String>The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.
Trait Implementations§
Source§impl Clone for TestInvokeAuthorizerRequest
impl Clone for TestInvokeAuthorizerRequest
Source§fn clone(&self) -> TestInvokeAuthorizerRequest
fn clone(&self) -> TestInvokeAuthorizerRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestInvokeAuthorizerRequest
impl Debug for TestInvokeAuthorizerRequest
Source§impl Default for TestInvokeAuthorizerRequest
impl Default for TestInvokeAuthorizerRequest
Source§fn default() -> TestInvokeAuthorizerRequest
fn default() -> TestInvokeAuthorizerRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for TestInvokeAuthorizerRequest
Auto Trait Implementations§
impl !Freeze for TestInvokeAuthorizerRequest
impl RefUnwindSafe for TestInvokeAuthorizerRequest
impl Send for TestInvokeAuthorizerRequest
impl Sync for TestInvokeAuthorizerRequest
impl Unpin for TestInvokeAuthorizerRequest
impl UnwindSafe for TestInvokeAuthorizerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more