func NewNamedCredential(name string, authType AuthType, attributes map[string]string, revoked bool) Credential {
	return Credential{
		Label:      name,
		authType:   authType,
		attributes: copyStringMap(attributes),
		Revoked:    revoked,
	}
}
// NewNamedCredential returns an immutable Credential with the supplied properties.
NewNamedCredential returns an immutable Credential with the supplied properties.
// NewNamedCredential returns an immutable Credential with the supplied properties .
func NewNamedCredential(name string, authType AuthType, attributes map[string]string, revoked bool) Credential {
	return Credential{
		Label:      name,
		authType:   authType,
		attributes: copyStringMap(attributes),
		Revoked:    revoked,
	}
}
func NewNamedCredential ( name string , authType AuthType , attributes map [ string ] string , revoked bool ) Credential { return Credential { Label : name , authType : authType , attributes : copyStringMap ( attributes ) , Revoked : revoked , } }
NewNamedCredential returns an immutable Credential with the supplied properties.
NewNamedCredential returns an immutable Credential with the supplied properties .