All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.smithy.kotlin.runtime.auth.AuthSchemeProvider.kt Maven / Gradle / Ivy

/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

package aws.smithy.kotlin.runtime.auth

/**
 * Resolves the candidate set of authentication schemes for an operation
 */
public interface AuthSchemeProvider {
    /**
     * Resolve the candidate set of authentication schemes for an operation
     * @param params The input context for the resolver function
     * @return a list of candidate [AuthOption] that can be used for an operation
     */
    public suspend fun resolveAuthScheme(params: T): List
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy