Type Aliases

The following type aliases are available globally.

  • Returns the context object used for authentication.

    Declaration

    Swift

    public typealias ASAPPRequestContextProvider = ((_ needsRefresh: Bool) -> [String : Any])

    Parameters

    needsRefresh

    A Bool indicating whether the context has expired and should be refreshed.

    Return Value

    A dictionary keyed by Strings. The dictionary can contain any key-value pairs required by the implementation.