ini() public static method

Credentials provider that creates credentials using an ini file stored in the current user's home directory.
public static ini ( string | null $profile = null, string | null $filename = null ) : callable
$profile string | null Profile to use. If not specified will use the "default" profile.
$filename string | null If provided, uses a custom filename rather than looking in the home directory for the
return callable
Example #1
0
 public static function _apply_profile($_, array &$args)
 {
     $args['credentials'] = CredentialProvider::ini($args['profile']);
 }