Options

struct Options
  • forceRefresh flag when true will ignore the cached UserPoolToken and TemporaryAWSCredentials. This will force the plugin to connect with server to get refreshed access token and id token with a new pair of temporary AWS Credentials.

    Declaration

    Swift

    public let forceRefresh: Bool
  • Extra plugin specific options, only used in special circumstances when the existing options do not provide a way to utilize the underlying auth plugin functionality. See plugin documentation for expected key/values

    Declaration

    Swift

    public let pluginOptions: Any?
  • Declaration

    Swift

    public init(
        forceRefresh: Bool = false,
        pluginOptions: Any? = nil)
  • Declaration

    Swift

    public static func forceRefresh() -> AuthFetchSessionRequest.Options