An identity whose scheme is "world
" and id is "anyone
".
An identity whose scheme is "auth
" and id is "".
An identity whose scheme is "auth
" and id is "".
This is a special identity, usable only while setting ACLs, that is substituted with the identities used during client authentication.
Constructs a new identity from the input string s
.
Constructs a new identity from the input string s
.
a string representing the identity
the identity in s
if it conforms to the specified syntax
if s
cannot be parsed
Constructs a new identity.
Constructs a new identity.
a string representing the scheme
a string representing the id
an identity with the given scheme
and id
Parses the identity in the input string s
.
Parses the identity in the input string s
.
The syntax of s
is scheme:
id, where id
and scheme
may be empty.
a string representing the identity
a Some
containing the identity in s
if it conforms to the specified syntax, otherwise None
Used in pattern matching to deconstruct an identity.
Used in pattern matching to deconstruct an identity.
selector value
a Some
containing scheme
and id
if the selector value is not null
, otherwise None
Constructs and deconstructs Id values.