authSchemes

fun authSchemes(
    defaultScheme: String = "Bearer",
    vararg additionalSchemes: String
): Unit

Parameters

defaultScheme - default scheme that will be used to challenge the client when no valid auth is provided

additionalSchemes - additional schemes that will be accepted when validating the authentication