- Method required_services
int required_services(void|int services)
Gets and optionally sets the set of services that must be provided in the context. The returned and given value is a bitfield of the GSSAPI.*_FLAG constants.
- Parameter services
New set of required services. If this is not given then the set is not changed.
If the context is established and services contain a service which isn't currently provided then the context is closed and a GSSAPI.MissingServicesError is thrown immediately.
GSSAPI.PROT_READY_FLAG is ignored in this parameter.
Returns the current set of required services (after setting them to services, if provided).
- See also