Allow subject type be undefined

This commit is contained in:
Igor Toporkov 2020-02-12 15:10:55 +03:00
parent 736f8414cd
commit 417085623b

View File

@ -29,7 +29,7 @@
-type key() :: #jose_jwk{}. -type key() :: #jose_jwk{}.
-type token() :: binary(). -type token() :: binary().
-type claims() :: #{binary() => term()}. -type claims() :: #{binary() => term()}.
-type subject() :: {subject_id(), uac_acl:t()}. -type subject() :: {subject_id(), uac_acl:t() | undefined}.
-type subject_id() :: binary(). -type subject_id() :: binary().
-type t() :: {id(), subject(), claims()}. -type t() :: {id(), subject(), claims()}.
-type domain_name() :: binary(). -type domain_name() :: binary().