@@ -105,12 +105,12 @@ class Identity(Protocol):
105
105
```
106
106
107
107
An ` Identity ` may be derived from any number of sources, such as configuration
108
- properties or environement variables. These different sources are loaded by an
108
+ properties or environment variables. These different sources are loaded by an
109
109
[ ` IdentityResolver ` ] ( #identity-resolvers ) .
110
110
111
111
### Identity Resolvers
112
112
113
- Identity resolvers are responsible for contructiong an ` Identity ` for a request.
113
+ Identity resolvers are responsible for constructing an ` Identity ` for a request.
114
114
115
115
``` python
116
116
class IdentityResolver[I: Identity, IP : Mapping[str , Any]](Protocol):
@@ -120,14 +120,14 @@ class IdentityResolver[I: Identity, IP: Mapping[str, Any]](Protocol):
120
120
```
121
121
122
122
Each identity source SHOULD have its own identity resolver implementation. If an
123
- ` Identity ` is supported by multiple ` IdentityResolver ` s, those resolver SHOULD
123
+ ` Identity ` is supported by multiple ` IdentityResolver ` s, those resolvers SHOULD
124
124
be prioritized to provide a stable resolution strategy. A
125
125
` ChainedIdentityResolver ` implementation is provided that implements this
126
126
behavior generically.
127
127
128
128
The ` get_identity ` function takes only one (keyword-only) argument - a mapping
129
129
of properties that is refined by the ` IP ` generic parameter. The identity
130
- properties are contructed by the ` AuthScheme ` 's ` identity_properties ` method.
130
+ properties are constructed by the ` AuthScheme ` 's ` identity_properties ` method.
131
131
132
132
Identity resolvers are constructed by the ` AuthScheme ` 's ` identity_resolver `
133
133
method.
@@ -153,7 +153,7 @@ request.
153
153
154
154
### Event Signers
155
155
156
- Auh schemes MAY also have an associated event signer, which signs events that
156
+ Auth schemes MAY also have an associated event signer, which signs events that
157
157
are sent to a server. They behave in the same way as normal signers, except that
158
158
they sign an event instead of a transport request. The properties passed to this
159
159
signing method are identical to those pased to the request signer.
@@ -168,7 +168,7 @@ class EventSigner[I, SP: Mapping[str, Any]](Protocol):
168
168
169
169
## Configuration
170
170
171
- All services with at least one auth trait will have the following properites on
171
+ All services with at least one auth trait will have the following properties on
172
172
their configuration object.
173
173
174
174
``` python
0 commit comments