The cl-cognito Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-cognito Reference Manual

This is the cl-cognito Reference Manual, version 2.2, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 03:10:49 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

###cl-cognito: A Common Lisp Interface to Amazon Cognito.

The primary purpose of this libary is to be able to obtain Amazon Cognito access, id, and refresh tokens based on Amazon Cognito user pool credentials. A secondary purpose is to provide other Cognito services over time.

These Amazon Cognito objects are used in this interface:

username : Cognito username. See Cognito -> User Pools -> Users and Groups. The username is not the user-email.
password : Cognito password.
pool-id : See Cognito -> User Pools -> General Settings.
client-id : See Cognito -> App clients -> App client id.
service : "cognito-idp". Other values may be possible, but this package doesn't know how to deal with them.
client-secret : Optional. See Cognito -> App clients -> App client id -> Show More Details -> App client secret.
user-email : Cognito e-mail. See Cognito -> User Pools -> Users and Groups.
access-key : Your user security credentials. secret-key :

The nickname cognito can be used for the cl-cognito package.

[Function]
authenticate-user (username password pool-id client-id &key (service "cognito-idp") (client-secret nil) (user-email nil) (new-password nil) (new-full-name nil) (new-phone nil) (new-email nil))

	=> result, code, response
	
	If **client-secret** is not nil then **user-email** must be provided.  On a password change where new user e-mail is required,
	both user-email and new-email must be the same.
	
	If new-password is not nil and a new password is required then the existing password will be changed.
	new-full-name, new-phone, and new-email will be sent to Congito if required and not nil. 
	
	On success, returns **result** which is a list of the form:
	
	((:*ACCESS-TOKEN . "eyJraW...")
	 (:*EXPIRES-IN . 3600)
     (:*ID-TOKEN . "eyJraW...")
     (:*REFRESH-TOKEN . "eyJjdH...")
     (:*TOKEN-TYPE . "Bearer")
     (:*TIMESTAMP . 3712515272))
	
	:*TIMESTAMP is the Lisp universal time when the Cognito request was made, so :*TIMESTAMP + :*EXPIRES-IN
	is when the tokens expire.  **cl-cognito** does not automatically refresh tokens.
	
	On error, **result** is nil.
	
	**code** is the HTTP response code.
	
	On success, **response** is nil.  On error, **response** is the decoded JSON response provided by Amazon.
	
	Example:
	
	An incorrect password will result in:
	
	result => NIL
	code => 400
	response => ((:----TYPE . "NotAuthorizedException")
	             (:MESSAGE . "Incorrect username or password."))
	             
	A password that must be changed might result in:
	
	result => ((:*CHALLENGE-NAME . "NEW_PASSWORD_REQUIRED")
               (:*CHALLENGE-PARAMETERS (:REQUIRED-ATTRIBUTES . "[]")
               (:USER-ATTRIBUTES . "..."))
               (:*SESSION . "..."))
	code => 200
	response => nil
	             
	A password that must be reset will result in:
	
	result => NIL
	code => 400
	response => ((:----TYPE . "PasswordResetRequiredException")
                 (:MESSAGE . "Password reset required for the user"))
                 
	Use confirm-forgot-password to reset the password.

[Function]
new-password-required? (result)

	Returns t if the result from **authenticate-user** indicates a new password is required.  If so,
	repeat the call to *authenticate-user** and set :new-passowrd to the new desired password.
	:new-full-name, :new-phone, and :new-mail may also need to be provided.

[Function]
new-password-attributes (result)

	Returns a list of the attributes required for a password change if the result from **authenticate-user**
	indicates a new password is required.  Example:
	
	  ("userAttributes.email" "userAttributes.phone_number" "userAttributes.name")

[Function]
reauthenticate-user (username refresh-token pool-id client-id &key (service "cognito-idp") (client-secret nil) (user-email nil))

	=> result, code, response
	
	Identical to **authenticate-user** but a **refresh-token** is provided in place of a password.
	If **client-secret** is not nil then *user-email* must be provided.

	((:*ACCESS-TOKEN . "eyJraW...")
	 (:*EXPIRES-IN . 3600)
	 (:*ID-TOKEN . "eyJraW...")
	 (:*TOKEN-TYPE . "Bearer")
	 (:*TIMESTAMP . 3712528761))

	If **client-secret** is nil then it appears that AWS doesn't care what *username* is.  YMMV.

[Function]
forgot-password (username pool-id client-id &key (service "cognito-idp") (client-secret nil))

	Causes a confirmation code which can be used by confirm-forgot-password to be sent to the user.

	=> result, code, response

	If successful, result is t.
	
	Note that this doesn't expire the old password -- the old password can still be used until changed
	by confirm-forgot-password.

[Function]
confirm-forgot-password (username confirmation-code new-password pool-id client-id &key (service "cognito-idp") (client-secret nil))

	Change password to new-password.
	confirmation-code can be an integer or a string (e.g. 307293 or "307293")
	
	=> result, code, response

	If successful, result is t.

[Function]
change-password (access-token pool-id old-password new-password &key (service "cognito-idp"))

	Change passowrd
	
	=> result, code response
	
	If successful, result is t

[Function]
sign-out (access-token pool-id &key (service "cognito-idp"))

	=> result, code, response
	
	Global sign out user.
	
	Returns t on success, nil on failure.  **code** and **response** can be used to
	determine failure cause.

[Function]
list-users (pool-id access-key secret-key &key (service "cognito-idp") (pagination-token nil))

	List users in pool.  Note:  A non-nil pagination-token has not been tested.

	=> result, code, response

	On success, result is the list of users and their associated information.

[Function]
admin-create-user (username pool-id temporary-password access-key secret-key
                                  key (service "cognito-idp") (delivery 'email) (force-alias nil)
                                  (message-action 'suppress) (user-attributes nil) (validation-data nil))

	delivery is 'email or 'sms or '(email sms)
	message-action is 'resend or 'suppress
	user-attributes is ((attribute1 . value1) (attribute2 . value2) ...)
	validation-data is ((attribute1 . value1) (attribute2 . value2) ...)

	=> result, code, response

	Create user.  On success, **result** is the response from AdminCreateUser
	
	Example:
	
	(defun create-aws-user (username real-name company e-mail phone-number temporary-password)
	  (cognito:admin-create-user username *pool-id* temporary-password *access-key*  *secret-key*
		                         :user-attributes `(("email" . ,e-mail)
					                                ("email_verified" . "true")
					                                ("name" . ,real-name)
					                                ("phone_number" . ,phone-number)
					                                ("custom:company" . ,company)))))
					                                  
	(create-aws-user "test-user" "John Doe" "John Doe, Inc." "john@doe.com" "+15556678329" "ChangeMe.")

	=>
	((:*USER
	 (:*ATTRIBUTES
	 ((:*NAME . "sub") (:*VALUE . "4836786e-f43c-47d9-b2e2-076aad5d9d8e"))
	 ((:*NAME . "email_verified") (:*VALUE . "true"))
	 ((:*NAME . "name") (:*VALUE . "John Doe"))
	 ((:*NAME . "phone_number") (:*VALUE . "+15556678329"))
	 ((:*NAME . "email") (:*VALUE . "john@doe.com"))
	 ((:*NAME . "custom:company") (:*VALUE . "John Doe, Inc.")))
	 (:*ENABLED . T) (:*USER-CREATE-DATE . 1.5076493e9)
	 (:*USER-LAST-MODIFIED-DATE . 1.5076493e9)
	 (:*USER-STATUS . "FORCE_CHANGE_PASSWORD") (:*USERNAME . "test-user")))
	200
	nil

[Function]
admin-update-user-attributes (username pool-id attributes access-key secret-key &key (service "cognito-idp"))

	user-attributes is ((attribute1 . value1) (attribute2 . value2) ...)
	
	=> result, code, response

	Update user attributes
	
	Example:
	
	(cognito:admin-update-user-attributes "test-user" *pool-id* '(("custom:company" . "Doe John, Ltd.")) *access-key* *secret-key*)
	
	=>
	T
	200
	NIL

[Function]
admin-get-user (username pool-id access-key secret-key &key (service "cognito-idp"))

	=> result, code, response
	
	Get user attributes
	
	Example:
	
	(cognito:admin-update-user-attributes "test-user" *pool-id*  *access-key* *secret-key*)
	
	=>
	((:*ENABLED . T)
	 (:*USER-ATTRIBUTES
	  ((:*NAME . "sub") (:*VALUE . "4836786e-f43c-47d9-b2e2-076aad5d9d8e"))
	  ((:*NAME . "email_verified") (:*VALUE . "true"))
	  ((:*NAME . "name") (:*VALUE . "John Doe"))
	  ((:*NAME . "phone_number") (:*VALUE . "+15556678329"))
	  ((:*NAME . "email") (:*VALUE . "john@doe.com"))
	  ((:*NAME . "custom:company") (:*VALUE . "Doe John, Ltd.")))
	 (:*USER-CREATE-DATE . 1.5076493e9) (:*USER-LAST-MODIFIED-DATE . 1.50765e9)
	 (:*USER-STATUS . "FORCE_CHANGE_PASSWORD") (:*USERNAME . "test-user"))
	200
	NIL

[Function]
admin-reset-user-password (username pool-id access-key secret-key &key (service "cognito-idp"))

	=> result, code, response

	Returns t on success, nil on failure.  **code** and **response** can be used to
	determine failure cause.

[Function]
admin-delete-user (username pool-id access-key secret-key &key (service "cognito-idp"))

	=> result, code, response
	
	Delete user from pool.  
	
	Example:
	
	(cognito:admin-delete-user "test-user" *pool-id*  *access-key* *secret-key*)
	
	=> T
	   200
	   NIL

BUGS

The URL to use to interact with Cognito is constructed by the private function (make-aws-url/s service_s region_s).
No services other than "cognito-idp" and no regions other than those in the US have been tested.

It isn't clear that defining authenticate-user to take :new-full-name, :new-email, and :new-phone is the best design choice.

HTTP engine

Dexador is used to process HTTPS requests. The code encapsulates this in one function, so it would be easy to use Drakma, instead.

Repository

https://github.com/stablecross/cl-cognito

####License cl-cognito is available under a BSD-like license. See the file LICENSE for details.

Contact

For any questions or comments, please feel free to email me, Bob Felts wrf3@stablecross.com


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-cognito

Author

Bob Felts <wrf3@stablecross.com>

License

BSD

Description

Amazon Cognito Utilities

Version

2.2

Dependencies
Source

cl-cognito.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-cognito.asd

Location

cl-cognito.asd

Systems

cl-cognito (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-cognito/package.lisp

Parent

cl-cognito (system)

Location

package.lisp

Packages

cl-cognito


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-cognito/cl-cognito.lisp

Dependency

package.lisp (file)

Parent

cl-cognito (system)

Location

cl-cognito.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 cl-cognito

Source

package.lisp (file)

Nickname

cognito

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: admin-create-user USERNAME POOL-ID TEMPORARY-PASSWORD ACCESS-KEY SECRET-KEY &key SERVICE DELIVERY FORCE-ALIAS MESSAGE-ACTION USER-ATTRIBUTES VALIDATION-DATA
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: admin-delete-user USERNAME POOL-ID ACCESS-KEY SECRET-KEY &key SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: admin-get-user USERNAME POOL-ID ACCESS-KEY SECRET-KEY &key SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: admin-reset-user-password USERNAME POOL-ID ACCESS-KEY SECRET-KEY &key SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: admin-update-user-attributes USERNAME POOL-ID ATTRIBUTES ACCESS-KEY SECRET-KEY &key SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: authenticate-user USERNAME PASSWORD POOL-ID CLIENT-ID &key SERVICE CLIENT-SECRET USER-EMAIL NEW-PASSWORD NEW-FULL-NAME NEW-PHONE NEW-EMAIL
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: change-password ACCESS-TOKEN POOL-ID OLD-PASSWORD NEW-PASSWORD &key SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: confirm-forgot-password USERNAME CONFIRMATION-CODE NEW-PASSWORD POOL-ID CLIENT-ID &key SERVICE CLIENT-SECRET
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: forgot-password USERNAME POOL-ID CLIENT-ID &key SERVICE CLIENT-SECRET
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: list-users POOL-ID ACCESS-KEY SECRET-KEY &key SERVICE PAGINATION-TOKEN
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: new-password-attributes RESULT_JS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: new-password-required? RESULT_JS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: reauthenticate-user USERNAME REFRESH-TOKEN POOL-ID CLIENT-ID &key SERVICE CLIENT-SECRET
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: sign-out ACCESS-TOKEN POOL-ID &key SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *dex-keep-alive*
Package

cl-cognito

Source

cl-cognito.lisp (file)

Special Variable: *dex-verbose*
Package

cl-cognito

Source

cl-cognito.lisp (file)

Special Variable: *g*
Package

cl-cognito

Source

cl-cognito.lisp (file)

Special Variable: *n*
Package

cl-cognito

Source

cl-cognito.lisp (file)

Special Variable: *nl*
Package

cl-cognito

Source

cl-cognito.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: attribute REQUIRED-ATTRIBUTES ATTRIBUTE-NAME ATTRIBUTE-VALUE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: authenticate-change-password SERVICE POOL-ID USERNAME_S CLIENT-ID SESSION-ID SECRET-HASH_S64 NEW-PASSWORD_S REQUIRED-ATTRIBUTES NEW-FULL-NAME_S NEW-PHONE_S NEW-EMAIL_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: authenticate-verify-password SERVICE POOL-ID THE-TIME PASSWORD_S LARGE-A SMALL-A K CLIENT-ID_S SECRET-HASH_S64 USER-EMAIL_S CHALLENGE-PARAMETERS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws-datestamp THE-TIME
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws-sign MSG KEY
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws-timestamp THE-TIME
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws4-authorization-header AWS-HOST BASE-HEADERS CONTENT_S THE-TIME AMZ-TIME REGION_S SERVICE ACCESS-KEY SECRET-KEY
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws4-authorization-string AWS-HOST BASE-HEADERS CONTENT_S THE-TIME AMZ-TIME REGION_S SERVICE ACCESS-KEY SECRET-KEY
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws4-credential-scope THE-TIME REGION SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws4-post SERVICE POOL-ID TARGET CONTENT &key ACCESS-KEY SECRET-KEY THE-TIME
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: aws4-signing-key SECRET-KEY THE-TIME REGION SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: ba/hs64 VECTOR_BA
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: calculate-a SMALL-A
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: calculate-u BIG-A SRP-B
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: canonical-headers HEADERS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: check-client-secret-parameters CLIENT-SECRET_S USER-EMAIL_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: client-secret-hash/s64 USERNAME CLIENT-ID_S CLIENT-SECRET_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: cognito-admin-op OPERATION USERNAME POOL-ID ACCESS-KEY SECRET-KEY SERVICE
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: delivery-mediums DELIVERY
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: do-authenticate-user THE-TIME USERNAME PASSWORD POOL-ID CLIENT-ID SERVICE CLIENT-SECRET USER-EMAIL NEW-PASSWORD NEW-FULL-NAME NEW-PHONE NEW-EMAIL
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: ensure-even-length S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: ensure-leading-00 S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: format-canonical-header-string CANONICAL-HEADERS &optional RESULT
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: format-canonical-signed-headers-string CANONICAL-HEADERS &optional RESULT SEPARATOR
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: generate-random-small-a ()
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: get-big-random ()
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: hash-hex-string STRING_HS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: hex-string-to-integer S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: hkdf IKM SALT
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: integer-to-hex-string N
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: integer-to-padded-hex-string N
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: json-decode-octets/js OCTETS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: make-aws-endpoint HOST_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: make-aws-host/s SERVICE_S REGION_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: make-aws-url/s SERVICE_S REGION_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: make-client-secret/s64 CLIENT-SECRET CLIENT-ID USERNAME
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: name-value-list ATTRIBUTES
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: name-value-object TAG ATTRIBUTES
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: octets-to-string OCTETS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: pad-hex-string HS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: password-authentication-key/ba PASSWORD_S LARGE-A SMALL-A K POOL_S USER-ID-FOR-SRP SRP-B SALT
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: pool/s POOL-ID_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: post URL_S HEADERS CONTENT_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: power-mod BASE EXP MODULUS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: region/s POOL-ID_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: sha256/ba VECTOR_BA
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: sha256/hs64 VECTOR_BA
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: signature-string/b64s HKDF_BA POOL-ID_S USER-ID_FOR-SRP_S SECRET-BLOCK_BA TIMESTAMP_S
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: string-to-octets STRING
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: timestamp-result THE-TIME RESULT_JS RESULT-CODE RESPONSE_JS
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: timestamp/s TIME
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: trim-downcase-header HEADER
Package

cl-cognito

Source

cl-cognito.lisp (file)

Function: trim-white S
Package

cl-cognito

Source

cl-cognito.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-cognito.asd: The cl-cognito<dot>asd file
cl-cognito/cl-cognito.lisp: The cl-cognito/cl-cognito<dot>lisp file
cl-cognito/package.lisp: The cl-cognito/package<dot>lisp file

F
File, Lisp, cl-cognito.asd: The cl-cognito<dot>asd file
File, Lisp, cl-cognito/cl-cognito.lisp: The cl-cognito/cl-cognito<dot>lisp file
File, Lisp, cl-cognito/package.lisp: The cl-cognito/package<dot>lisp file

L
Lisp File, cl-cognito.asd: The cl-cognito<dot>asd file
Lisp File, cl-cognito/cl-cognito.lisp: The cl-cognito/cl-cognito<dot>lisp file
Lisp File, cl-cognito/package.lisp: The cl-cognito/package<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   A   B   C   D   E   F   G   H   I   J   L   M   N   O   P   R   S   T  
Index Entry  Section

A
admin-create-user: Exported functions
admin-delete-user: Exported functions
admin-get-user: Exported functions
admin-reset-user-password: Exported functions
admin-update-user-attributes: Exported functions
attribute: Internal functions
authenticate-change-password: Internal functions
authenticate-user: Exported functions
authenticate-verify-password: Internal functions
aws-datestamp: Internal functions
aws-sign: Internal functions
aws-timestamp: Internal functions
aws4-authorization-header: Internal functions
aws4-authorization-string: Internal functions
aws4-credential-scope: Internal functions
aws4-post: Internal functions
aws4-signing-key: Internal functions

B
ba/hs64: Internal functions

C
calculate-a: Internal functions
calculate-u: Internal functions
canonical-headers: Internal functions
change-password: Exported functions
check-client-secret-parameters: Internal functions
client-secret-hash/s64: Internal functions
cognito-admin-op: Internal functions
confirm-forgot-password: Exported functions

D
delivery-mediums: Internal functions
do-authenticate-user: Internal functions

E
ensure-even-length: Internal functions
ensure-leading-00: Internal functions

F
forgot-password: Exported functions
format-canonical-header-string: Internal functions
format-canonical-signed-headers-string: Internal functions
Function, admin-create-user: Exported functions
Function, admin-delete-user: Exported functions
Function, admin-get-user: Exported functions
Function, admin-reset-user-password: Exported functions
Function, admin-update-user-attributes: Exported functions
Function, attribute: Internal functions
Function, authenticate-change-password: Internal functions
Function, authenticate-user: Exported functions
Function, authenticate-verify-password: Internal functions
Function, aws-datestamp: Internal functions
Function, aws-sign: Internal functions
Function, aws-timestamp: Internal functions
Function, aws4-authorization-header: Internal functions
Function, aws4-authorization-string: Internal functions
Function, aws4-credential-scope: Internal functions
Function, aws4-post: Internal functions
Function, aws4-signing-key: Internal functions
Function, ba/hs64: Internal functions
Function, calculate-a: Internal functions
Function, calculate-u: Internal functions
Function, canonical-headers: Internal functions
Function, change-password: Exported functions
Function, check-client-secret-parameters: Internal functions
Function, client-secret-hash/s64: Internal functions
Function, cognito-admin-op: Internal functions
Function, confirm-forgot-password: Exported functions
Function, delivery-mediums: Internal functions
Function, do-authenticate-user: Internal functions
Function, ensure-even-length: Internal functions
Function, ensure-leading-00: Internal functions
Function, forgot-password: Exported functions
Function, format-canonical-header-string: Internal functions
Function, format-canonical-signed-headers-string: Internal functions
Function, generate-random-small-a: Internal functions
Function, get-big-random: Internal functions
Function, hash-hex-string: Internal functions
Function, hex-string-to-integer: Internal functions
Function, hkdf: Internal functions
Function, integer-to-hex-string: Internal functions
Function, integer-to-padded-hex-string: Internal functions
Function, json-decode-octets/js: Internal functions
Function, list-users: Exported functions
Function, make-aws-endpoint: Internal functions
Function, make-aws-host/s: Internal functions
Function, make-aws-url/s: Internal functions
Function, make-client-secret/s64: Internal functions
Function, name-value-list: Internal functions
Function, name-value-object: Internal functions
Function, new-password-attributes: Exported functions
Function, new-password-required?: Exported functions
Function, octets-to-string: Internal functions
Function, pad-hex-string: Internal functions
Function, password-authentication-key/ba: Internal functions
Function, pool/s: Internal functions
Function, post: Internal functions
Function, power-mod: Internal functions
Function, reauthenticate-user: Exported functions
Function, region/s: Internal functions
Function, sha256/ba: Internal functions
Function, sha256/hs64: Internal functions
Function, sign-out: Exported functions
Function, signature-string/b64s: Internal functions
Function, string-to-octets: Internal functions
Function, timestamp-result: Internal functions
Function, timestamp/s: Internal functions
Function, trim-downcase-header: Internal functions
Function, trim-white: Internal functions

G
generate-random-small-a: Internal functions
get-big-random: Internal functions

H
hash-hex-string: Internal functions
hex-string-to-integer: Internal functions
hkdf: Internal functions

I
integer-to-hex-string: Internal functions
integer-to-padded-hex-string: Internal functions

J
json-decode-octets/js: Internal functions

L
list-users: Exported functions

M
make-aws-endpoint: Internal functions
make-aws-host/s: Internal functions
make-aws-url/s: Internal functions
make-client-secret/s64: Internal functions

N
name-value-list: Internal functions
name-value-object: Internal functions
new-password-attributes: Exported functions
new-password-required?: Exported functions

O
octets-to-string: Internal functions

P
pad-hex-string: Internal functions
password-authentication-key/ba: Internal functions
pool/s: Internal functions
post: Internal functions
power-mod: Internal functions

R
reauthenticate-user: Exported functions
region/s: Internal functions

S
sha256/ba: Internal functions
sha256/hs64: Internal functions
sign-out: Exported functions
signature-string/b64s: Internal functions
string-to-octets: Internal functions

T
timestamp-result: Internal functions
timestamp/s: Internal functions
trim-downcase-header: Internal functions
trim-white: Internal functions

Jump to:   A   B   C   D   E   F   G   H   I   J   L   M   N   O   P   R   S   T  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
S  
Index Entry  Section

*
*dex-keep-alive*: Internal special variables
*dex-verbose*: Internal special variables
*g*: Internal special variables
*n*: Internal special variables
*nl*: Internal special variables

S
Special Variable, *dex-keep-alive*: Internal special variables
Special Variable, *dex-verbose*: Internal special variables
Special Variable, *g*: Internal special variables
Special Variable, *n*: Internal special variables
Special Variable, *nl*: Internal special variables

Jump to:   *  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
cl-cognito: The cl-cognito system
cl-cognito: The cl-cognito package

P
Package, cl-cognito: The cl-cognito package

S
System, cl-cognito: The cl-cognito system

Jump to:   C   P   S