-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4355 from boundlessgeo/password-helper-authmanager3
[feature][needs-docs] Master Password integration with OS password manager
- Loading branch information
Showing
31 changed files
with
714 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Find QtKeychain | ||
# ~~~~~~~~~~~~~~~ | ||
# Copyright (c) 2016, Boundless Spatial | ||
# Author: Larry Shaffer <lshaffer (at) boundlessgeo (dot) com> | ||
# | ||
# Redistribution and use is allowed according to the terms of the BSD license. | ||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. | ||
# | ||
# CMake module to search for QtKeychain library from: | ||
# https://github.com/frankosterfeld/qtkeychain | ||
# | ||
# If it's found it sets QTKEYCHAIN_FOUND to TRUE | ||
# and following variables are set: | ||
# QTKEYCHAIN_INCLUDE_DIR | ||
# QTKEYCHAIN_LIBRARY | ||
|
||
FIND_PATH(QTKEYCHAIN_INCLUDE_DIR keychain.h | ||
PATHS | ||
${LIB_DIR}/include | ||
"$ENV{LIB_DIR}/include" | ||
$ENV{INCLUDE} | ||
/usr/local/include | ||
/usr/include | ||
PATH_SUFFIXES qt5keychain qtkeychain | ||
) | ||
|
||
FIND_LIBRARY(QTKEYCHAIN_LIBRARY NAMES qt5keychain qtkeychain | ||
PATHS | ||
${LIB_DIR} | ||
"$ENV{LIB_DIR}" | ||
$ENV{LIB} | ||
/usr/local/lib | ||
/usr/lib | ||
) | ||
|
||
|
||
IF (QTKEYCHAIN_INCLUDE_DIR AND QTKEYCHAIN_LIBRARY) | ||
SET(QTKEYCHAIN_FOUND TRUE) | ||
ELSE() | ||
SET(QTKEYCHAIN_FOUND FALSE) | ||
ENDIF (QTKEYCHAIN_INCLUDE_DIR AND QTKEYCHAIN_LIBRARY) | ||
|
||
IF (QTKEYCHAIN_FOUND) | ||
IF (NOT QTKEYCHAIN_FIND_QUIETLY) | ||
MESSAGE(STATUS "Found QtKeychain: ${QTKEYCHAIN_LIBRARY}") | ||
ENDIF (NOT QTKEYCHAIN_FIND_QUIETLY) | ||
ELSE (QTKEYCHAIN_FOUND) | ||
IF (QTKEYCHAIN_FIND_REQUIRED) | ||
MESSAGE(FATAL_ERROR "Could not find QtKeychain") | ||
ENDIF (QTKEYCHAIN_FIND_REQUIRED) | ||
ENDIF (QTKEYCHAIN_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.