get authentication data form flags.