function saml_sp_update_7204 in SAML Service Provider 7.8
Same name and namespace in other branches
- 7.2 saml_sp.install \saml_sp_update_7204()
- 7.3 saml_sp.install \saml_sp_update_7204()
Add the authn_context_class_ref field to the saml_sp_idps table.
File
- ./
saml_sp.install, line 190 - Hook_requirements for the SAML Service Provider module.
Code
function saml_sp_update_7204(&$sandbox) {
db_add_field('saml_sp_idps', 'authn_context_class_ref', array(
'description' => 'Preferred authentication method.',
'type' => 'varchar',
'length' => '100',
'not null' => TRUE,
'default' => 'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport',
));
}