Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix static auths
  • Loading branch information
3nids committed Jun 23, 2021
1 parent fb97e8f commit eb13fee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/auth/qgsauthmethodregistry.cpp
Expand Up @@ -80,13 +80,13 @@ void QgsAuthMethodRegistry::init()
{
#ifdef HAVE_STATIC_PROVIDERS
mAuthMethods[ QgsAuthBasicMethod::AUTH_METHOD_KEY] = new QgsAuthBasicMethodMetadata();
mAuthMethods[ QgsAuthEsriTokenMethod::AUTH_METHOD_KEY] = new QgsAuthBasicMethodMetadata();
mAuthMethods[ QgsAuthIdentCertMethod::AUTH_METHOD_KEY] = new QgsAuthBasicMethodMetadata();
mAuthMethods[ QgsAuthEsriTokenMethod::AUTH_METHOD_KEY] = new QgsAuthEsriTokenMethodMetadata();
mAuthMethods[ QgsAuthIdentCertMethod::AUTH_METHOD_KEY] = new QgsAuthIdentCertMethodMetadata();
#ifdef HAVE_OAUTH2_PLUGIN
mAuthMethods[ QgsAuthOAuth2Method::AUTH_METHOD_KEY] = new QgsAuthBasicMethodMetadata();
mAuthMethods[ QgsAuthOAuth2Method::AUTH_METHOD_KEY] = new QgsAuthOAuth2MethodMetadata();
#endif
mAuthMethods[ QgsAuthPkiPathsMethod::AUTH_METHOD_KEY] = new QgsAuthBasicMethodMetadata();
mAuthMethods[ QgsAuthPkcs12Method::AUTH_METHOD_KEY] = new QgsAuthBasicMethodMetadata();
mAuthMethods[ QgsAuthPkiPathsMethod::AUTH_METHOD_KEY] = new QgsAuthPkiPathsMethodMetadata();
mAuthMethods[ QgsAuthPkcs12Method::AUTH_METHOD_KEY] = new QgsAuthPkcs12MethodMetadata();
#else
typedef QgsAuthMethodMetadata *factory_function( );

Expand Down

0 comments on commit eb13fee

Please sign in to comment.