[][src]Struct atlassian_app_auth::Parameters

pub struct Parameters {
    pub method: String,
    pub url: Url,
    pub valid_for: Duration,
    pub app_key: String,
    pub shared_secret: String,
}

Input parameters for creating a JWT.

Fields

method: String

HTTP of the request.

url: Url

URL of the request.

valid_for: Duration

Duration that this key will be valid for (starting from the current time)

app_key: String

Connect App key. This is the same as the "key" field of the app descriptor JSON file, and is also returned in the "key" field of the installation lifecycle callback.

shared_secret: String

Connect App shared secret. This is returned in the "sharedSecret" field of the installation lifecycle callback.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.