Struct sentry_types::Auth[][src]

pub struct Auth { /* fields omitted */ }

Represents an auth header.

Methods

impl Auth
[src]

Creates an auth header from key value pairs.

Creates an auth header from a query string.

Returns the unix timestamp the client defined

Returns the protocol version the client speaks

Returns the public key

Returns the client's secret if it authenticated with a secret.

Returns true if the authentication implies public auth (no secret)

Returns the client's agent

Trait Implementations

impl Debug for Auth
[src]

Formats the value using the given formatter. Read more

impl Clone for Auth
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Auth
[src]

Formats the value using the given formatter. Read more

impl FromStr for Auth
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

impl Send for Auth

impl Sync for Auth